summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Räsänen <jussir@gmail.com>2018-01-17 17:24:41 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-01-17 17:24:41 +0000
commit03e0899283b85a8bd174df71f45d32ca849ac4e4 (patch)
tree93d0baa1a39bce2b05e788f3f0bf0f5b99caef90
parentb9ff53e8d3b6e9e0e2926ece03d1b1c386aa0dc8 (diff)
downloadgitlab-ce-03e0899283b85a8bd174df71f45d32ca849ac4e4.tar.gz
Open visibility help in new tab
-rw-r--r--app/views/projects/_new_project_fields.html.haml2
-rw-r--r--changelogs/unreleased/feature-39591-visibility-level.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/_new_project_fields.html.haml b/app/views/projects/_new_project_fields.html.haml
index bd99eb93cc8..d367bd6be7b 100644
--- a/app/views/projects/_new_project_fields.html.haml
+++ b/app/views/projects/_new_project_fields.html.haml
@@ -34,7 +34,7 @@
.form-group.visibility-level-setting
= f.label :visibility_level, class: 'label-light' do
Visibility Level
- = link_to icon('question-circle'), help_page_path("public_access/public_access"), aria: { label: 'Documentation for Visibility Level' }
+ = link_to icon('question-circle'), help_page_path("public_access/public_access"), aria: { label: 'Documentation for Visibility Level' }, target: '_blank', rel: 'noopener noreferrer'
= render 'shared/visibility_level', f: f, visibility_level: visibility_level.to_i, can_change_visibility_level: true, form_model: @project, with_label: false
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
diff --git a/changelogs/unreleased/feature-39591-visibility-level.yml b/changelogs/unreleased/feature-39591-visibility-level.yml
new file mode 100644
index 00000000000..4bbc9bdbb2e
--- /dev/null
+++ b/changelogs/unreleased/feature-39591-visibility-level.yml
@@ -0,0 +1,5 @@
+---
+title: Open visibility level help in a new tab
+merge_request:
+author: Jussi Räsänen
+type: fixed