5b0f492b0d
Replace "builds" in project settings Replace "builds" in admin area
15 lines
794 B
Text
15 lines
794 B
Text
- form = local_assigns.fetch(:form)
|
|
|
|
.form-group
|
|
.checkbox.builds-feature
|
|
= form.label :only_allow_merge_if_build_succeeds do
|
|
= form.check_box :only_allow_merge_if_build_succeeds
|
|
%strong Only allow merge requests to be merged if the pipeline succeeds
|
|
%br
|
|
%span.descr
|
|
Pipelines need to be configured to enable this feature.
|
|
= 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')
|
|
.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
|