2016-03-19 09:02:30 -04:00
|
|
|
.account-grid-card
|
2017-08-16 11:12:58 -04:00
|
|
|
.account-grid-card__header{ style: "background-image: url(#{account.header.url(:original)})" }
|
2018-02-26 10:18:41 -05:00
|
|
|
= render 'accounts/follow_button', account: account, relationships: @relationships
|
2017-08-16 11:12:58 -04:00
|
|
|
.account-grid-card__avatar
|
2016-12-29 10:54:54 -05:00
|
|
|
.avatar= image_tag account.avatar.url(:original)
|
2017-08-16 11:12:58 -04:00
|
|
|
.name
|
|
|
|
= link_to TagManager.instance.url_for(account) do
|
2018-05-06 05:48:51 -04:00
|
|
|
%span.display_name.emojify= display_name(account, custom_emojify: true)
|
2018-02-26 10:18:41 -05: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)
|