2016-12-05 10:00:26 -05:00
|
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
.checkbox.builds-feature
|
2017-02-17 08:56:13 -05:00
|
|
|
= form.label :only_allow_merge_if_pipeline_succeeds do
|
|
|
|
= form.check_box :only_allow_merge_if_pipeline_succeeds
|
2017-01-25 11:14:58 -05:00
|
|
|
%strong Only allow merge requests to be merged if the pipeline succeeds
|
2016-12-05 10:00:26 -05:00
|
|
|
%br
|
|
|
|
%span.descr
|
2017-01-25 11:14:58 -05:00
|
|
|
Pipelines need to be configured to enable this feature.
|
2017-01-25 11:19:50 -05:00
|
|
|
= link_to icon('question-circle'), help_page_path('user/project/merge_requests/merge_when_pipeline_succeeds', anchor: 'only-allow-merge-requests-to-be-merged-if-the-pipeline-succeeds')
|
2016-12-05 10:00:26 -05:00
|
|
|
.checkbox
|
|
|
|
= form.label :only_allow_merge_if_all_discussions_are_resolved do
|
|
|
|
= form.check_box :only_allow_merge_if_all_discussions_are_resolved
|
|
|
|
%strong Only allow merge requests to be merged if all discussions are resolved
|
2017-09-01 18:39:22 -04:00
|
|
|
.checkbox
|
|
|
|
= form.label :resolve_outdated_diff_discussions do
|
|
|
|
= form.check_box :resolve_outdated_diff_discussions
|
2017-09-05 11:49:05 -04:00
|
|
|
%strong Automatically resolve merge request diff discussions when they become outdated
|
2017-03-17 08:35:39 -04:00
|
|
|
.checkbox
|
|
|
|
= form.label :printing_merge_request_link_enabled do
|
|
|
|
= form.check_box :printing_merge_request_link_enabled
|
|
|
|
%strong Show link to create/view merge request when pushing from the command line
|