Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
67f5c772
Commit
67f5c772
authored
Feb 02, 2022
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve delete webhook modal copy
Changelog: changed
parent
609fdc4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app/views/shared/web_hooks/_hook.html.haml
app/views/shared/web_hooks/_hook.html.haml
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
app/views/shared/web_hooks/_hook.html.haml
View file @
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'
locale/gitlab.pot
View file @
67f5c772
...
...
@@ -40283,6 +40283,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 ""
...
...
@@ -40292,6 +40295,9 @@ msgstr ""
msgid "Webhooks|Confidential issues events"
msgstr ""
msgid "Webhooks|Delete webhook"
msgstr ""
msgid "Webhooks|Deployment events"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment