_card.html.haml 509 B

123456789101112
  1. .account-card
  2. .detailed-status__display-name
  3. %div
  4. = image_tag account.avatar.url(:original), alt: '', width: 48, height: 48, class: 'avatar'
  5. %span.display-name
  6. = link_to TagManager.instance.url_for(account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do
  7. %strong.emojify= display_name(account)
  8. %span @#{account.acct}
  9. - if account.note?
  10. .account__header__content.emojify= Formatter.instance.simplified_format(account)