Commit b36e46b1 authored by Phil Hughes's avatar Phil Hughes

Merge branch...

Merge branch '344170-replace-data-confirm-modals-with-glmodal-in-app-views-projects-hooks-edit-html-haml' into 'master'

Resolve "Replace `data-confirm` modals with `GlModal` in `app/views/projects/hooks/edit.html.haml`"

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