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