Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_merge_request_merge_suggestions_settings.html.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06bb9056e61540bb5da29b139638ffac577e4163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- form = local_assigns.fetch(:form)

.form-group
  %b= s_('ProjectSettings|Merge suggestions')
  %p.text-secondary
    = s_('ProjectSettings|The commit message used to apply merge request suggestions')
    = link_to icon('question-circle'),
      help_page_path('user/discussions/index.md',
      anchor: 'configure-the-commit-message-for-applied-suggestions'),
      target: '_blank'
  .mb-2
    = form.text_field :suggestion_commit_message, class: 'form-control mb-2', placeholder: Suggestions::ApplyService::DEFAULT_SUGGESTION_COMMIT_MESSAGE
    %p.form-text.text-muted
      = s_('ProjectSettings|The variables GitLab supports:')
      - Suggestions::ApplyService::PLACEHOLDERS.keys.each do |placeholder|
        %code
          = "%{#{placeholder}}".html_safe