Commit 73864a18 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch '344156-use-danger-variant-comment-delete-modal' into 'master'

Use danger button variant in comment delete modal

See merge request gitlab-org/gitlab!80264
parents 4e094365 b1bda051
......@@ -13,6 +13,6 @@
= _('Report abuse to admin')
- if note_editable
%li
= link_to note_url(note), method: :delete, data: { confirm: 'Are you sure you want to delete this comment?', qa_selector: 'delete_comment_button' }, remote: true, class: 'js-note-delete' do
= link_to note_url(note), method: :delete, data: { confirm: _('Are you sure you want to delete this comment?'), confirm_btn_variant: 'danger', qa_selector: 'delete_comment_button' }, aria: { label: _('Delete comment') }, remote: true, class: 'js-note-delete' do
%span.text-danger
= _('Delete comment')
......@@ -4690,6 +4690,9 @@ msgstr ""
msgid "Are you sure you want to delete this SSH key?"
msgstr ""
msgid "Are you sure you want to delete this comment?"
msgstr ""
msgid "Are you sure you want to delete this deploy key?"
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