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.

18 lines
1.1 KiB

  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)])), TagManager.instance.url_for(moved_to_account), class: 'mention'))
  6. .moved-account-widget__card
  7. = link_to TagManager.instance.url_for(moved_to_account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do
  8. .detailed-status__display-avatar
  9. .account__avatar-overlay
  10. .account__avatar-overlay-base{ style: "background-image: url('#{moved_to_account.avatar.url(:original)}')" }
  11. .account__avatar-overlay-overlay{ style: "background-image: url('#{account.avatar.url(:original)}')" }
  12. %span.display-name
  13. %bdi
  14. %strong.emojify= display_name(moved_to_account, custom_emojify: true)
  15. %span @#{moved_to_account.acct}