闭社主体 forked from https://github.com/tootsuite/mastodon
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.

22 lines
847 B

  1. .panel
  2. .panel-header
  3. = succeed ':' do
  4. = t 'about.contact'
  5. - if contact.site_contact_email.present?
  6. = mail_to contact.site_contact_email, nil, title: contact.site_contact_email
  7. - else
  8. %span= t 'about.contact_unavailable'
  9. .panel-body
  10. - if contact.contact_account
  11. .owner
  12. .avatar= image_tag contact.contact_account.avatar.url
  13. .name
  14. = link_to TagManager.instance.url_for(contact.contact_account) do
  15. %span.display_name.emojify= display_name(contact.contact_account)
  16. %span.username @#{contact.contact_account.acct}
  17. - else
  18. .owner
  19. .avatar= image_tag full_asset_url('avatars/original/missing.png', skip_pipeline: true)
  20. .name
  21. %span.display_name= t 'about.contact_missing'
  22. %span.username= t 'about.contact_unavailable'