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