Commit 9ee6926f authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch...

Merge branch '344205-replace-data-confirm-modals-with-glmodal-in-ee-app-views-groups-hooks-edit-html-haml' into 'master'

Replace `data-confirm` modals with `GlModal` in group hooks

See merge request gitlab-org/gitlab!80102
parents fb1b1324 f0e17e14
......@@ -13,4 +13,4 @@
%span>= f.submit _('Save changes'), class: 'gl-button btn btn-confirm gl-mr-3'
= render 'shared/web_hooks/test_button', hook: @hook
= link_to _('Delete'), group_hook_path(@group, @hook), method: :delete, class: 'gl-button btn btn-danger float-right', data: { confirm: _('Are you sure?') }
= link_to _('Delete'), group_hook_path(@group, @hook), method: :delete, class: 'gl-button btn btn-danger float-right', aria: { label: s_('Webhooks|Delete webhook') }, data: { confirm: s_('Webhooks|Are you sure you want to delete this group hook?'), confirm_btn_variant: 'danger' }
......@@ -40731,6 +40731,9 @@ msgstr ""
msgid "Webhooks|An issue is created, updated, closed, or reopened."
msgstr ""
msgid "Webhooks|Are you sure you want to delete this group hook?"
msgstr ""
msgid "Webhooks|Are you sure you want to delete this project hook?"
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