diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-01-25 12:12:57 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-01-25 17:45:11 +0300 |
commit | 2b80e164820608c44070a7ffb85ac9862911f70d (patch) | |
tree | bf842f2bc3ddfa938696d37bb8e87fcc6ac03e21 /app/views/users | |
parent | aff9ecefb8a2c0e3b6816a4632c8433940dd6e88 (diff) |
Open links in a new tab on the user page
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 4f4e81c705f..90aa1be30ac 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -58,15 +58,15 @@ = icon('skype') - unless @user.linkedin.blank? .profile-link-holder.middle-dot-divider - = link_to linkedin_url(@user), title: "LinkedIn" do + = link_to linkedin_url(@user), title: "LinkedIn", target: '_blank', rel: 'noopener noreferrer nofollow' do = icon('linkedin-square') - unless @user.twitter.blank? .profile-link-holder.middle-dot-divider - = link_to twitter_url(@user), title: "Twitter" do + = link_to twitter_url(@user), title: "Twitter", target: '_blank', rel: 'noopener noreferrer nofollow' do = icon('twitter-square') - unless @user.website_url.blank? .profile-link-holder.middle-dot-divider - = link_to @user.short_website_url, @user.full_website_url, class: 'text-link' + = link_to @user.short_website_url, @user.full_website_url, class: 'text-link', target: '_blank', rel: 'noopener noreferrer nofollow' - unless @user.location.blank? .profile-link-holder.middle-dot-divider = icon('map-marker') |