2019-04-12 14:41:31 +00:00
|
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
|
2021-01-21 12:09:05 +00:00
|
|
|
.form-group#project-merge-options{ data: { project_full_path: @project.full_path } }
|
2019-04-12 14:41:31 +00:00
|
|
|
%b= s_('ProjectSettings|Merge options')
|
2021-03-12 09:09:06 +00:00
|
|
|
%p.text-secondary= s_('ProjectSettings|Additional settings that influence how and when merges are done.')
|
2019-04-12 14:41:31 +00:00
|
|
|
= render_if_exists 'projects/merge_pipelines_settings', form: form
|
2020-11-17 15:09:28 +00:00
|
|
|
= render_if_exists 'projects/merge_trains_settings', form: form
|
2022-04-22 03:08:49 +00:00
|
|
|
= form.gitlab_ui_checkbox_component :resolve_outdated_diff_discussions,
|
|
|
|
s_('ProjectSettings|Automatically resolve merge request diff discussions when they become outdated')
|
|
|
|
= form.gitlab_ui_checkbox_component :printing_merge_request_link_enabled,
|
|
|
|
s_('ProjectSettings|Show link to create or view a merge request when pushing from the command line')
|
|
|
|
= form.gitlab_ui_checkbox_component :remove_source_branch_after_merge,
|
|
|
|
s_('ProjectSettings|Enable "Delete source branch" option by default'),
|
|
|
|
help_text: s_('ProjectSettings|Existing merge requests and protected branches are not affected.')
|