_moved.html.haml 1.1 KB

1234567891011121314151617181920
  1. - moved_to_account = account.moved_to_account
  2. .moved-account-widget
  3. .moved-account-widget__message
  4. = fa_icon 'suitcase'
  5. = t('accounts.moved_html', name: content_tag(:bdi, content_tag(:strong, display_name(account, custom_emojify: true), class: :emojify)), new_profile_link: link_to(content_tag(:strong, safe_join(['@', content_tag(:span, moved_to_account.acct)])), ActivityPub::TagManager.instance.url_for(moved_to_account), class: 'mention'))
  6. .moved-account-widget__card
  7. = link_to ActivityPub::TagManager.instance.url_for(moved_to_account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'me noopener noreferrer' do
  8. .detailed-status__display-avatar
  9. .account__avatar-overlay
  10. .account__avatar-overlay-base
  11. = image_tag moved_to_account.avatar_static_url
  12. .account__avatar-overlay-overlay
  13. = image_tag account.avatar_static_url
  14. %span.display-name
  15. %bdi
  16. %strong.emojify= display_name(moved_to_account, custom_emojify: true)
  17. %span @#{moved_to_account.acct}