You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
600 B

  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. - account_url = local_assigns[:admin] ? admin_account_path(account.id) : TagManager.instance.url_for(account)
  7. = link_to account_url, class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do
  8. %strong.emojify= display_name(account)
  9. %span @#{account.acct}
  10. - if account.note?
  11. .account__header__content.emojify= Formatter.instance.simplified_format(account)