2017-11-18 10:39:02 -08:00
|
|
|
- moved_to_account = account.moved_to_account
|
|
|
|
|
2018-07-28 10:25:33 -07:00
|
|
|
.moved-account-widget
|
|
|
|
.moved-account-widget__message
|
2017-11-18 10:39:02 -08:00
|
|
|
= fa_icon 'suitcase'
|
2018-07-28 10:25:33 -07: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)])), TagManager.instance.url_for(moved_to_account), class: 'mention'))
|
2017-11-18 10:39:02 -08:00
|
|
|
|
2018-07-28 10:25:33 -07:00
|
|
|
.moved-account-widget__card
|
2017-11-18 10:39:02 -08:00
|
|
|
= link_to TagManager.instance.url_for(moved_to_account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do
|
|
|
|
.detailed-status__display-avatar
|
|
|
|
.account__avatar-overlay
|
|
|
|
.account__avatar-overlay-base{ style: "background-image: url('#{moved_to_account.avatar.url(:original)}')" }
|
|
|
|
.account__avatar-overlay-overlay{ style: "background-image: url('#{account.avatar.url(:original)}')" }
|
|
|
|
|
|
|
|
%span.display-name
|
2018-07-28 10:25:33 -07:00
|
|
|
%bdi
|
|
|
|
%strong.emojify= display_name(moved_to_account, custom_emojify: true)
|
2017-11-18 10:39:02 -08:00
|
|
|
%span @#{moved_to_account.acct}
|