diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-11-28 21:03:03 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-11-28 21:03:03 +0100 |
commit | ba5f9a0ab40cb22487060b6c674cf652760831de (patch) | |
tree | 5a8ab89d8b9a8582225a0b04ecfb8309919cc71f | |
parent | c54827961a6ecefc6cb3361b3978d169e29b5e36 (diff) | |
download | gitlab-ce-cleanup-visibility-level.tar.gz |
Clean up visibility levelcleanup-visibility-level
- Remove duplicate visibility entry when creating a new project
- Sentence case 'Visibility level'
- Open docs for visibility level in a new tab
-rw-r--r-- | app/views/projects/new.html.haml | 5 | ||||
-rw-r--r-- | app/views/shared/_visibility_level.html.haml | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 0788924d44a..4c76fe76380 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -9,7 +9,7 @@ %h4.prepend-top-0 New project %p - Create or Import your project from popular Git services + Create or import your project from popular Git services .col-lg-9 = form_for @project, html: { class: 'new_project' } do |f| %fieldset.append-bottom-0 @@ -87,9 +87,6 @@ = f.text_area :description, placeholder: 'Description format', class: "form-control", rows: 3, maxlength: 250 .form-group.project-visibility-level-holder - = f.label :visibility_level, class: 'label-light' do - Visibility Level - = link_to "(?)", help_page_path("public_access/public_access") = render 'shared/visibility_level', f: f, visibility_level: default_project_visibility, can_change_visibility_level: true, form_model: @project diff --git a/app/views/shared/_visibility_level.html.haml b/app/views/shared/_visibility_level.html.haml index b11257ee0e6..971129ab66e 100644 --- a/app/views/shared/_visibility_level.html.haml +++ b/app/views/shared/_visibility_level.html.haml @@ -1,7 +1,7 @@ .form-group.project-visibility-level-holder = f.label :visibility_level, class: 'control-label' do - Visibility Level - = link_to icon('question-circle'), help_page_path("public_access/public_access") + Visibility level + = link_to icon('question-circle'), help_page_path("public_access/public_access"), target: '_blank' .col-sm-10 - if can_change_visibility_level = render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: visibility_level, form_model: form_model) |