Commit 497548b4 authored by Yogi's avatar Yogi Committed by Nicolò Maria Mezzopera

Move to btn-confirm from btn-success in ee project settings

parent 73cbbb91
---
title: Move to btn-confirm from btn-success in ee project settings
merge_request: 58047
author: Yogi (@yo)
type: changed
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
.text-secondary .text-secondary
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/markdown') } - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/markdown') }
= _('Description parsed with %{link_start}GitLab Flavored Markdown%{link_end}.').html_safe % { link_start: link_start, link_end: '</a>'.html_safe } = _('Description parsed with %{link_start}GitLab Flavored Markdown%{link_end}.').html_safe % { link_start: link_start, link_end: '</a>'.html_safe }
= f.submit _('Save changes'), class: "gl-button btn btn-success", data: { qa_selector: 'save_issue_template_button' } = f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_issue_template_button' }
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
= s_('AutoRollback|Automatic rollbacks start when a critical alert is triggered. If the last successful deployment fails to roll back automatically, it can still be done manually.') = s_('AutoRollback|Automatic rollbacks start when a critical alert is triggered. If the last successful deployment fails to roll back automatically, it can still be done manually.')
= link_to _('More information'), help_page_path('ci/environments/index.md', anchor: 'auto-rollback'), target: '_blank' = link_to _('More information'), help_page_path('ci/environments/index.md', anchor: 'auto-rollback'), target: '_blank'
= f.submit _('Save changes'), class: "gl-button btn btn-success gl-mt-5", data: { qa_selector: 'save_changes_button' } = f.submit _('Save changes'), class: "gl-button btn btn-confirm gl-mt-5", data: { qa_selector: 'save_changes_button' }
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
= form.text_field :alias, class: 'form-control', placeholder: @slack_integration.alias, required: true = form.text_field :alias, class: 'form-control', placeholder: @slack_integration.alias, required: true
.footer-block.row-content-block .footer-block.row-content-block
%button.btn.gl-button.btn-success{ type: 'submit' } %button.btn.gl-button.btn-confirm{ type: 'submit' }
.spinner.spinner-light .spinner.spinner-light
%span %span
Save changes Save changes
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
= f.label :upstream_project_path do = f.label :upstream_project_path do
= _("Project path") = _("Project path")
= f.text_field :upstream_project_path, class: "form-control", data: { qa_selector: "upstream_project_path_field" } = f.text_field :upstream_project_path, class: "form-control", data: { qa_selector: "upstream_project_path_field" }
= f.submit _('Subscribe'), class: "btn btn-success", data: { qa_selector: "subscribe_button" } = f.submit _('Subscribe'), class: "gl-button btn btn-confirm", data: { qa_selector: "subscribe_button" }
.row.gl-mt-3.gl-mb-3 .row.gl-mt-3.gl-mb-3
.col-lg-12 .col-lg-12
......
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