Commit 5fcf206f authored by Peter Hegman's avatar Peter Hegman

Merge branch '344192-improve-web-hook-delete-modal-copy' into 'master'

Improve delete webhook modal copy

See merge request gitlab-org/gitlab!79718
parents 2ed8b8c3 67f5c772
......@@ -22,4 +22,4 @@
.col-md-4.col-lg-5.text-right-md.gl-mt-2
%span>= render 'shared/web_hooks/test_button', hook: hook, button_class: 'btn-sm btn-default gl-mr-3'
%span>= link_to _('Edit'), edit_hook_path(hook), class: 'btn gl-button btn-default btn-sm gl-mr-3'
= link_to _('Delete'), destroy_hook_path(hook), data: { confirm: _('Are you sure?') }, method: :delete, class: 'btn gl-button btn-secondary btn-danger-secondary btn-sm'
= link_to _('Delete'), destroy_hook_path(hook), aria: { label: s_('Webhooks|Delete webhook') }, data: { confirm_btn_variant: "danger", confirm: s_('Webhooks|Are you sure you want to delete this webhook?') }, method: :delete, class: 'btn gl-button btn-secondary btn-danger-secondary btn-sm'
......@@ -40366,6 +40366,9 @@ msgstr ""
msgid "Webhooks|An issue is created, updated, closed, or reopened."
msgstr ""
msgid "Webhooks|Are you sure you want to delete this webhook?"
msgstr ""
msgid "Webhooks|Comments"
msgstr ""
......@@ -40375,6 +40378,9 @@ msgstr ""
msgid "Webhooks|Confidential issues events"
msgstr ""
msgid "Webhooks|Delete webhook"
msgstr ""
msgid "Webhooks|Deployment events"
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