Commit 7ea89083 authored by tauriedavis's avatar tauriedavis Committed by Phil Hughes

fix merge conflicts

parent c8fbba43
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
= render "projects/settings/head" = render "projects/settings/head"
%section.settings.general-settings .project-edit-container
%section.settings.general-settings
.settings-header .settings-header
%h4 %h4
General project settings General project settings
...@@ -71,7 +72,7 @@ ...@@ -71,7 +72,7 @@
Enable or disable certain project features and choose access levels. Enable or disable certain project features and choose access levels.
.settings-content.no-animate{ class: ('expaneded' if expanded) } .settings-content.no-animate{ class: ('expaneded' if expanded) }
= form_for [@project.namespace.becomes(Namespace), @project], remote: true, html: { multipart: true, class: "sharing-permissions-form" }, authenticity_token: true do |f| = form_for [@project.namespace.becomes(Namespace), @project], remote: true, html: { multipart: true, class: "sharing-permissions-form" }, authenticity_token: true do |f|
.form-group.sharing-and-permissions .form_group.sharing-and-permissions
.row.js-visibility-select .row.js-visibility-select
.col-md-8 .col-md-8
.label-light .label-light
...@@ -95,6 +96,7 @@ ...@@ -95,6 +96,7 @@
%span.help-block Submit changes to be merged upstream %span.help-block Submit changes to be merged upstream
.col-md-4 .col-md-4
= project_feature_access_select(:merge_requests_access_level) = project_feature_access_select(:merge_requests_access_level)
.row .row
.col-md-8.project-feature.nested .col-md-8.project-feature.nested
= feature_fields.label :builds_access_level, "Pipelines", class: 'label-light' = feature_fields.label :builds_access_level, "Pipelines", class: 'label-light'
...@@ -122,7 +124,6 @@ ...@@ -122,7 +124,6 @@
%span.help-block Pages for project documentation %span.help-block Pages for project documentation
.col-md-4 .col-md-4
= project_feature_access_select(:wiki_access_level) = project_feature_access_select(:wiki_access_level)
.form-group .form-group
= render 'shared/allow_request_access', form: f = render 'shared/allow_request_access', form: f
- if Gitlab.config.lfs.enabled && current_user.admin? - if Gitlab.config.lfs.enabled && current_user.admin?
...@@ -147,7 +148,7 @@ ...@@ -147,7 +148,7 @@
= f.submit 'Save changes', class: "btn btn-save" = f.submit 'Save changes', class: "btn btn-save"
%section.settings.merge-request-settings{ style: ("display: none;" if @project.project_feature.send(:merge_requests_access_level) == 0) } %section.settings.merge-request-settings{ style: ("display: none;" if @project.project_feature.send(:merge_requests_access_level) == 0) }
.settings-header .settings-header
%h4 %h4
Merge request settings Merge request settings
...@@ -160,7 +161,7 @@ ...@@ -160,7 +161,7 @@
= render 'merge_request_settings', form: f = render 'merge_request_settings', form: f
= f.submit 'Save changes', class: "btn btn-save" = f.submit 'Save changes', class: "btn btn-save"
%section.settings %section.settings
.settings-header .settings-header
%h4 %h4
Export project Export project
...@@ -197,7 +198,7 @@ ...@@ -197,7 +198,7 @@
= link_to 'Export project', export_project_path(@project), = link_to 'Export project', export_project_path(@project),
method: :post, class: "btn btn-default" method: :post, class: "btn btn-default"
%section.settings.advanced-settings %section.settings.advanced-settings
.settings-header .settings-header
%h4 %h4
Advanced settings Advanced settings
...@@ -210,7 +211,7 @@ ...@@ -210,7 +211,7 @@
%h4 Housekeeping %h4 Housekeeping
%p %p
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects. Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
= link_to 'Housekeeping', housekeeping_project_path(@project), = link_to 'Run housekeeping', housekeeping_project_path(@project),
method: :post, class: "btn btn-default" method: :post, class: "btn btn-default"
- if can? current_user, :archive_project, @project - if can? current_user, :archive_project, @project
.sub-section .sub-section
...@@ -259,7 +260,6 @@ ...@@ -259,7 +260,6 @@
- if @project.deployment_services.any? - if @project.deployment_services.any?
%li Your deployment services will be broken, you will need to manually fix the services after renaming. %li Your deployment services will be broken, you will need to manually fix the services after renaming.
= f.submit 'Rename project', class: "btn btn-warning" = f.submit 'Rename project', class: "btn btn-warning"
- if can?(current_user, :change_namespace, @project) - if can?(current_user, :change_namespace, @project)
.sub-section .sub-section
%h4.danger-title %h4.danger-title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment