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