Commit f78aad5d authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch...

Merge branch '344181-replace-data-confirm-modals-with-glmodal-in-app-views-admin-labels-_label-html-haml' into 'master'

Resolve "Replace `data-confirm` modals with `GlModal` in `app/views/admin/labels/_label.html.haml`"

See merge request gitlab-org/gitlab!80114
parents 35e0a158 a53d3ae2
......@@ -3,5 +3,5 @@
.label-actions-list
= link_to edit_admin_label_path(label), class: 'btn btn-default gl-button btn-default-tertiary label-action has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
= sprite_icon('pencil')
= link_to admin_label_path(label), class: 'btn btn-default gl-button btn-default-tertiary hover-red js-remove-label label-action has-tooltip', title: _('Delete'), data: { placement: 'bottom', confirm: "Delete this label? Are you sure?" }, aria_label: _('Delete'), method: :delete, remote: true do
= link_to admin_label_path(label), class: 'btn btn-default gl-button btn-default-tertiary hover-red js-remove-label label-action has-tooltip', title: _('Delete'), data: { placement: 'bottom', confirm: _('Are you sure you want to delete this label?'), confirm_btn_variant: 'danger' }, aria: { label: _('Delete label') }, method: :delete, remote: true do
= sprite_icon('remove')
......@@ -4696,6 +4696,9 @@ msgstr ""
msgid "Are you sure you want to delete this device? This action cannot be undone."
msgstr ""
msgid "Are you sure you want to delete this label?"
msgstr ""
msgid "Are you sure you want to delete this pipeline schedule?"
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