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.

16 lines
564 B

  1. - account_url = local_assigns[:admin] ? admin_account_path(account.id) : TagManager.instance.url_for(account)
  2. .card.h-card
  3. = link_to account_url, target: '_blank', rel: 'noopener' do
  4. .card__img
  5. = image_tag account.header.url, alt: ''
  6. .card__bar
  7. .avatar
  8. = image_tag account.avatar.url, alt: '', width: 48, height: 48, class: 'u-photo'
  9. .display-name
  10. %bdi
  11. %strong.emojify.p-name= display_name(account, custom_emojify: true)
  12. %span
  13. = acct(account)
  14. = fa_icon('lock') if account.locked?