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