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.

19 lines
1017 B

  1. .account
  2. .account__wrapper
  3. - if @instance_presenter.contact_account
  4. = link_to TagManager.instance.url_for(@instance_presenter.contact_account), class: 'account__display-name' do
  5. .account__avatar-wrapper
  6. .account__avatar{ style: "background-image: url(#{@instance_presenter.contact_account.avatar.url})" }
  7. %span.display-name
  8. %bdi
  9. %strong.display-name__html.emojify= display_name(@instance_presenter.contact_account, custom_emojify: true)
  10. %span.display-name__account @#{@instance_presenter.contact_account.acct}
  11. - else
  12. .account__display-name
  13. .account__avatar-wrapper
  14. .account__avatar{ style: "background-image: url(#{full_asset_url('avatars/original/missing.png', skip_pipeline: true)})" }
  15. %span.display-name
  16. %strong= t 'about.contact_missing'
  17. %span.display-name__account= t 'about.contact_unavailable'
  18. = link_to t('about.learn_more'), about_more_path, class: 'button button-alternative'