logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

_card.html.haml (600B)


  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)