diff options
author | ThibG <thib@sitedethib.com> | 2018-09-20 22:53:30 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-20 22:53:30 +0200 |
commit | c946ba3faeddd181d23a75342a487fbcf992f027 (patch) | |
tree | 4fa006dc394546bd05b6c6fe3c4794b13efbd93f /app | |
parent | 50c90a909e400628febd53c805165f1da5ecbfbd (diff) |
Add rel=me to moved accounts' link (#8742)
Diffstat (limited to 'app')
-rw-r--r-- | app/views/accounts/_moved.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/_moved.html.haml b/app/views/accounts/_moved.html.haml index f99328dbd..7a777bfea 100644 --- a/app/views/accounts/_moved.html.haml +++ b/app/views/accounts/_moved.html.haml @@ -6,7 +6,7 @@ = 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')) .moved-account-widget__card - = link_to TagManager.instance.url_for(moved_to_account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'noopener' do + = link_to TagManager.instance.url_for(moved_to_account), class: 'detailed-status__display-name p-author h-card', target: '_blank', rel: 'me noopener' do .detailed-status__display-avatar .account__avatar-overlay .account__avatar-overlay-base{ style: "background-image: url('#{moved_to_account.avatar.url(:original)}')" } |