2017-11-18 13:39:02 -05:00
|
|
|
- moved_to_account = account.moved_to_account
|
|
|
|
|
2018-07-28 13:25:33 -04:00
|
|
|
.moved-account-widget
|
|
|
|
.moved-account-widget__message
|
2017-11-18 13:39:02 -05:00
|
|
|
= fa_icon 'suitcase'
|
2022-03-22 05:07:11 -04:00
|
|
|
= 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.pretty_acct)])), ActivityPub::TagManager.instance.url_for(moved_to_account), class: 'mention'))
|
2017-11-18 13:39:02 -05:00
|
|
|
|
2018-07-28 13:25:33 -04:00
|
|
|
.moved-account-widget__card
|
2019-10-24 16:44:42 -04:00
|
|
|
= 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
|
2017-11-18 13:39:02 -05:00
|
|
|
.detailed-status__display-avatar
|
|
|
|
.account__avatar-overlay
|
2020-04-28 04:16:55 -04:00
|
|
|
.account__avatar-overlay-base
|
|
|
|
= image_tag moved_to_account.avatar_static_url
|
|
|
|
.account__avatar-overlay-overlay
|
|
|
|
= image_tag account.avatar_static_url
|
2017-11-18 13:39:02 -05:00
|
|
|
|
|
|
|
%span.display-name
|
2018-07-28 13:25:33 -04:00
|
|
|
%bdi
|
|
|
|
%strong.emojify= display_name(moved_to_account, custom_emojify: true)
|
2022-03-22 05:07:11 -04:00
|
|
|
%span @#{moved_to_account.pretty_acct}
|