Commit f386c6f0 authored by snachnolkar's avatar snachnolkar

Update confirmation button variant and label

Changed the button variant in the confirmation popup of revoke authorized
application to danger variant (Red). Also, the label of the button is updated
to "Revoke application". Confirmation message in the popup has been
updated to "Are you sure you want to revoke this application?".
parent 14713239
......@@ -5,4 +5,4 @@
= form_tag path do
%input{ :name => "_method", :type => "hidden", :value => "delete" }/
= submit_tag _('Revoke'), class: 'gl-button btn btn-danger btn-sm', data: { confirm: _('Are you sure?') }
= submit_tag _('Revoke'), class: 'gl-button btn btn-danger btn-sm', aria: { label: s_('AuthorizedApplication|Revoke application') }, data: { confirm: s_('AuthorizedApplication|Are you sure you want to revoke this application?'), confirm_btn_variant: 'danger' }
......@@ -5158,6 +5158,12 @@ msgstr ""
msgid "Authorized applications (%{size})"
msgstr ""
msgid "AuthorizedApplication|Are you sure you want to revoke this application?"
msgstr ""
msgid "AuthorizedApplication|Revoke application"
msgstr ""
msgid "Authors: %{authors}"
msgstr ""
......
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