summaryrefslogtreecommitdiff
path: root/app/views/projects/services/slack_slash_commands/_help.html.haml
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-03-15 21:21:48 +0000
committerDJ Mountney <david@twkie.net>2017-03-20 18:51:36 -0700
commitc5a9d73ad8a141166d871e551027208014a281c0 (patch)
tree2c67e06925166205e40c35588732285260bdecdb /app/views/projects/services/slack_slash_commands/_help.html.haml
parent153b594c06c994a8c9b4a92e9c5c33c3cdb4e0e0 (diff)
downloadgitlab-ce-c5a9d73ad8a141166d871e551027208014a281c0.tar.gz
Merge branch 'fix-links-target-blank' into 'security'
Adds rel="noopener noreferrer" to all links with target="_blank" See merge request !2071
Diffstat (limited to 'app/views/projects/services/slack_slash_commands/_help.html.haml')
-rw-r--r--app/views/projects/services/slack_slash_commands/_help.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/services/slack_slash_commands/_help.html.haml b/app/views/projects/services/slack_slash_commands/_help.html.haml
index 0d973a20d4c..078b7be6865 100644
--- a/app/views/projects/services/slack_slash_commands/_help.html.haml
+++ b/app/views/projects/services/slack_slash_commands/_help.html.haml
@@ -5,7 +5,7 @@
%p
This service allows users to perform common operations on this
project by entering slash commands in Slack.
- = link_to help_page_path('user/project/integrations/slack_slash_commands.md'), target: '_blank', ref: 'noreferrer nofollow noopener' do
+ = link_to help_page_path('user/project/integrations/slack_slash_commands.md'), target: '_blank' do
View documentation
= icon('external-link')
%p.inline
@@ -57,7 +57,7 @@
= label_tag nil, 'Customize icon', class: 'col-sm-2 col-xs-12 control-label'
.col-sm-10.col-xs-12.text-block
= image_tag(asset_url('slash-command-logo.png'), width: 36, height: 36)
- = link_to('Download image', asset_url('gitlab_logo.png'), class: 'btn btn-sm', target: '_blank')
+ = link_to('Download image', asset_url('gitlab_logo.png'), class: 'btn btn-sm', target: '_blank', rel: 'noopener noreferrer')
.form-group
= label_tag nil, 'Autocomplete', class: 'col-sm-2 col-xs-12 control-label'