]> cat aescling's git repositories - mastodon.git/commitdiff
Add rel=me to moved accounts' link (#8742)
authorThibG <thib@sitedethib.com>
Thu, 20 Sep 2018 20:53:30 +0000 (22:53 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 20 Sep 2018 20:53:30 +0000 (22:53 +0200)
app/views/accounts/_moved.html.haml

index f99328dbd37012f7a10ec39cca2fcfe37c6a8a14..7a777bfea84f1c9e1644e4dd198eeaf39d2e502c 100644 (file)
@@ -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)}')" }