summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2019-05-22 18:20:05 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2019-05-30 22:04:08 +0300
commit309b77e8edc81bf26e9ad72db34449a3c9a5792e (patch)
tree6d9b14197a72f8a8db22f2d5f18a9d1f31ac52b7
parentc18136ae480121576b3b49c46078f46a1ceac9c9 (diff)
downloadgitlab-ce-309b77e8edc81bf26e9ad72db34449a3c9a5792e.tar.gz
Open snippets visibility help link in a new tab
-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