fix merge conflicts

This commit is contained in:
tauriedavis 2017-07-25 10:34:44 -07:00 committed by Phil Hughes
parent c8fbba43a8
commit 7ea8908306

View file

@ -4,6 +4,7 @@
= render "projects/settings/head"
.project-edit-container
%section.settings.general-settings
.settings-header
%h4
@ -71,7 +72,7 @@
Enable or disable certain project features and choose access levels.
.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-group.sharing-and-permissions
.form_group.sharing-and-permissions
.row.js-visibility-select
.col-md-8
.label-light
@ -95,6 +96,7 @@
%span.help-block Submit changes to be merged upstream
.col-md-4
= project_feature_access_select(:merge_requests_access_level)
.row
.col-md-8.project-feature.nested
= feature_fields.label :builds_access_level, "Pipelines", class: 'label-light'
@ -122,7 +124,6 @@
%span.help-block Pages for project documentation
.col-md-4
= project_feature_access_select(:wiki_access_level)
.form-group
= render 'shared/allow_request_access', form: f
- if Gitlab.config.lfs.enabled && current_user.admin?
@ -210,7 +211,7 @@
%h4 Housekeeping
%p
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"
- if can? current_user, :archive_project, @project
.sub-section
@ -259,7 +260,6 @@
- if @project.deployment_services.any?
%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"
- if can?(current_user, :change_namespace, @project)
.sub-section
%h4.danger-title