summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-31 07:41:38 +0000
committerPhil Hughes <me@iamphill.com>2019-05-31 07:41:38 +0000
commitd8058a0a985ac6e3fc974d8dc5c610de3026009a (patch)
treeccba3ecc47eb199e139de5330a870d0f7142a383
parent6189c869b87aa469f5efb058834cd65afd8fe563 (diff)
parent309b77e8edc81bf26e9ad72db34449a3c9a5792e (diff)
downloadgitlab-ce-d8058a0a985ac6e3fc974d8dc5c610de3026009a.tar.gz
Merge branch 'gt-open-visibility-help-link-in-a-new-tab' into 'master'
Open snippets visibility help link in a new tab Closes #61911 See merge request gitlab-org/gitlab-ce!28603
-rw-r--r--app/views/shared/_old_visibility_level.html.haml2
-rw-r--r--changelogs/unreleased/gt-open-visibility-help-link-in-a-new-tab.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/shared/_old_visibility_level.html.haml b/app/views/shared/_old_visibility_level.html.haml
index fd576e4fbea..e8f3d888cce 100644
--- a/app/views/shared/_old_visibility_level.html.haml
+++ b/app/views/shared/_old_visibility_level.html.haml
@@ -1,6 +1,6 @@
.form-group.row
.col-sm-2.col-form-label
= _('Visibility level')
- = link_to icon('question-circle'), help_page_path("public_access/public_access")
+ = link_to icon('question-circle'), help_page_path("public_access/public_access"), target: '_blank'
.col-sm-10
= render 'shared/visibility_level', f: f, visibility_level: visibility_level, can_change_visibility_level: can_change_visibility_level, form_model: form_model, with_label: with_label
diff --git a/changelogs/unreleased/gt-open-visibility-help-link-in-a-new-tab.yml b/changelogs/unreleased/gt-open-visibility-help-link-in-a-new-tab.yml
new file mode 100644
index 00000000000..35515c9d639
--- /dev/null
+++ b/changelogs/unreleased/gt-open-visibility-help-link-in-a-new-tab.yml
@@ -0,0 +1,5 @@
+---
+title: Open visibility help link in a new tab
+merge_request: 28603
+author: George Tsiolis
+type: fixed