Merge branch 'issue-newproj-layout' into 'master'
Removed duplicate "Visibility Level" label on New Project page See merge request !8272
This commit is contained in:
commit
b5e10e71ed
3 changed files with 13 additions and 7 deletions
|
@ -94,9 +94,8 @@
|
|||
.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
|
||||
|
||||
= link_to icon('question-circle'), 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, with_label: false
|
||||
|
||||
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
|
||||
= link_to 'Cancel', dashboard_projects_path, class: 'btn btn-cancel'
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
- with_label = local_assigns.fetch(:with_label, true)
|
||||
|
||||
.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")
|
||||
.col-sm-10
|
||||
- if with_label
|
||||
= f.label :visibility_level, class: 'control-label' do
|
||||
Visibility Level
|
||||
= link_to icon('question-circle'), help_page_path("public_access/public_access")
|
||||
%div{ :class => ("col-sm-10" if with_label) }
|
||||
- if can_change_visibility_level
|
||||
= render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: visibility_level, form_model: form_model)
|
||||
- else
|
||||
|
|
4
changelogs/unreleased/issue-newproj-layout.yml
Normal file
4
changelogs/unreleased/issue-newproj-layout.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Removed duplicate "Visibility Level" label on New Project page
|
||||
merge_request:
|
||||
author: Robert Marcano
|
Loading…
Reference in a new issue