2016-03-19 06:02:30 -07:00
|
|
|
.account-grid-card
|
2017-08-16 08:12:58 -07:00
|
|
|
.account-grid-card__header{ style: "background-image: url(#{account.header.url(:original)})" }
|
2018-02-26 07:18:41 -08:00
|
|
|
= render 'accounts/follow_button', account: account, relationships: @relationships
|
2017-08-16 08:12:58 -07:00
|
|
|
.account-grid-card__avatar
|
2016-12-29 07:54:54 -08:00
|
|
|
.avatar= image_tag account.avatar.url(:original)
|
2017-08-16 08:12:58 -07:00
|
|
|
.name
|
|
|
|
= link_to TagManager.instance.url_for(account) do
|
2018-05-06 02:48:51 -07:00
|
|
|
%span.display_name.emojify= display_name(account, custom_emojify: true)
|
2018-02-26 07:18:41 -08:00
|
|
|
%span.username
|
|
|
|
@#{account.local? ? account.local_username_and_domain : account.acct}
|
|
|
|
= fa_icon('lock') if account.locked?
|
|
|
|
.account__header__content.p-note.emojify= Formatter.instance.simplified_format(account)
|