Commit 0ec82b0a authored by Phil Hughes's avatar Phil Hughes

Fixed conflicts

parent 51b4241b
...@@ -17,15 +17,6 @@ ...@@ -17,15 +17,6 @@
} }
ProjectNew.prototype.toggleSettings = function() { ProjectNew.prototype.toggleSettings = function() {
<<<<<<< HEAD
this._showOrHide('#project_builds_enabled', '.builds-feature');
this._showOrHide('#project_merge_requests_enabled', '.merge-requests-feature');
return this._showOrHide('#project_issues_enabled', '.issues-feature');
};
ProjectNew.prototype.toggleSettingsOnclick = function() {
return $('#project_builds_enabled, #project_merge_requests_enabled, #project_issues_enabled').on('click', this.toggleSettings);
=======
var self = this; var self = this;
this.$selects.each(function () { this.$selects.each(function () {
...@@ -38,7 +29,6 @@ ...@@ -38,7 +29,6 @@
ProjectNew.prototype.toggleSettingsOnclick = function() { ProjectNew.prototype.toggleSettingsOnclick = function() {
this.$selects.on('change', this.toggleSettings); this.$selects.on('change', this.toggleSettings);
>>>>>>> ce/master
}; };
ProjectNew.prototype._showOrHide = function(checkElement, container) { ProjectNew.prototype._showOrHide = function(checkElement, container) {
......
%fieldset.features.append-bottom-0.issue-feature %fieldset.features.append-bottom-0.issues-feature
%h5.prepend-top-0 %h5.prepend-top-0
Issues Issues
.form-group .form-group
......
<<<<<<< HEAD %fieldset.merge-requests-feature.append-bottom-default
%fieldset.merge-request-feature.append-bottom-default
%h5.prepend-top-0 %h5.prepend-top-0
Merge requests Merge requests
...@@ -79,7 +78,7 @@ ...@@ -79,7 +78,7 @@
- if @project.approvers.empty? - if @project.approvers.empty?
%li There are no approvers %li There are no approvers
.form-group .form-group.builds-feature
.checkbox .checkbox
= f.label :only_allow_merge_if_build_succeeds do = f.label :only_allow_merge_if_build_succeeds do
= f.check_box :only_allow_merge_if_build_succeeds = f.check_box :only_allow_merge_if_build_succeeds
...@@ -90,19 +89,3 @@ ...@@ -90,19 +89,3 @@
:javascript :javascript
new UsersSelect(); new UsersSelect();
=======
.merge-requests-feature
%fieldset.builds-feature
%hr
%h5.prepend-top-0
Merge Requests
.form-group
.checkbox
= f.label :only_allow_merge_if_build_succeeds do
= f.check_box :only_allow_merge_if_build_succeeds
%strong Only allow merge requests to be merged if the build succeeds
%br
%span.descr
Builds need to be configured to enable this feature.
= link_to icon('question-circle'), help_page_path('workflow/merge_requests', anchor: 'only-allow-merge-requests-to-be-merged-if-the-build-succeeds')
>>>>>>> ce/master
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