Commit 0a6dc8a8 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '354507-fix-button-variant' into 'master'

Replace success buttons with the confirm variants

See merge request gitlab-org/gitlab!82207
parents 73a41bd8 0b3828cd
......@@ -21,4 +21,4 @@
= groups_select_tag('group[custom_project_templates_group_id]', data: { groups_filter: 'subgroups', parent_id: @group.id }, selected: @group.custom_project_templates_group_id, class: 'input-clamp allowClear qa-custom-project-template-select', multiple: false)
- link_start = '<a href="%{url}">'.html_safe % { url: help_page_path('user/group/custom_project_templates.md') }
= s_("GroupSettings|The projects in this subgroup can be selected as templates for new projects created in the group. %{link_start}Learn more.%{link_end}").html_safe % { link_start: link_start, link_end: "</a>".html_safe }
= f.submit _('Save changes'), class: 'btn gl-button btn-success qa-save-changes-button'
= f.submit _('Save changes'), class: 'btn gl-button btn-confirm qa-save-changes-button'
......@@ -22,4 +22,4 @@
placeholder: _('Search projects'), idAttribute: 'id', data: { order_by: 'last_activity_at', idattribute: 'id', simple_filter: true, allow_clear: true }, value: @group.checked_file_template_project_id)
= s_('Create common files more quickly, and standardize their format.')
= link_to s_("How do I use file templates?"), help_page_path('user/project/repository/web_editor.md', anchor: 'template-dropdowns'), target: '_blank', rel: 'noopener noreferrer'
= f.submit _('Save changes'), class: "btn gl-button btn-success", data: { qa_selector: 'save_changes_button' }
= f.submit _('Save changes'), class: "btn gl-button btn-confirm", data: { qa_selector: 'save_changes_button' }
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