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