diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-11-22 17:51:49 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-12-10 18:18:18 +0300 |
commit | 26b0fe8d2e16adf4106859ed578dd2352cde412b (patch) | |
tree | 4d837b484ec9130a5d80bf1b2884eccda5c6b26e /app/views/projects/edit.html.haml | |
parent | 63c3ba7ae084919e237d444c942f26093ac51da0 (diff) |
Align permissions options
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r-- | app/views/projects/edit.html.haml | 67 |
1 files changed, 33 insertions, 34 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 16a26f7d066..ff0da46a31d 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -29,7 +29,7 @@ %fieldset.append-bottom-0 %h5.prepend-top-0 Sharing & Permissions - .form_group.prepend-top-20 + .form_group.prepend-top-20.sharing-and-permissions .row.js-visibility-select .col-md-9 %label.label-light @@ -40,48 +40,47 @@ = render('shared/visibility_select', model_method: :visibility_level, form: f, selected_level: @project.visibility_level) = f.fields_for :project_feature do |feature_fields| %fieldset.features - .row.project-feature-nested - .col-md-9.header + .row + .col-md-9.project-feature = feature_fields.label :repository_access_level, "Repository", class: 'label-light' %span.help-block Push files to be stored in this project .col-md-3.js-repo-access-level = project_feature_access_select(:repository_access_level) - .col-sm-12 - .row.project-feature-nested - .col-md-9.header - = feature_fields.label :merge_requests_access_level, "Merge requests", class: 'label-light' - %span.help-block Submit changes to be merged upstream - .col-md-3 - = project_feature_access_select(:merge_requests_access_level) + .row + .col-md-9.project-feature.nested + = feature_fields.label :merge_requests_access_level, "Merge requests", class: 'label-light' + %span.help-block Submit changes to be merged upstream + .col-md-3 + = project_feature_access_select(:merge_requests_access_level) - .row.project-feature-nested - .col-md-9.header - = feature_fields.label :builds_access_level, "Builds", class: 'label-light' - %span.help-block Submit, test and deploy your changes before merge - .col-md-3.double-nested - = project_feature_access_select(:builds_access_level) + .row + .col-md-9.project-feature.nested + = feature_fields.label :builds_access_level, "Builds", class: 'label-light' + %span.help-block Submit, test and deploy your changes before merge + .col-md-3 + = project_feature_access_select(:builds_access_level) - .row - .col-md-9.header - = feature_fields.label :snippets_access_level, "Snippets", class: 'label-light' - %span.help-block Share code pastes with others out of Git repository - .col-md-3 - = project_feature_access_select(:snippets_access_level) + .row + .col-md-9.project-feature + = feature_fields.label :snippets_access_level, "Snippets", class: 'label-light' + %span.help-block Share code pastes with others out of Git repository + .col-md-3 + = project_feature_access_select(:snippets_access_level) - .row - .col-md-9.header - = feature_fields.label :issues_access_level, "Issues", class: 'label-light' - %span.help-block Lightweight issue tracking system for this project - .col-md-3 - = project_feature_access_select(:issues_access_level) + .row + .col-md-9.project-feature + = feature_fields.label :issues_access_level, "Issues", class: 'label-light' + %span.help-block Lightweight issue tracking system for this project + .col-md-3 + = project_feature_access_select(:issues_access_level) - .row - .col-md-9.header - = feature_fields.label :wiki_access_level, "Wiki", class: 'label-light' - %span.help-block Pages for project documentation - .col-md-3 - = project_feature_access_select(:wiki_access_level) + .row + .col-md-9.project-feature + = feature_fields.label :wiki_access_level, "Wiki", class: 'label-light' + %span.help-block Pages for project documentation + .col-md-3 + = project_feature_access_select(:wiki_access_level) .form-group = render 'shared/allow_request_access', form: f - if Gitlab.config.lfs.enabled && current_user.admin? |