summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-18 01:32:00 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:27 -0200
commit4c9241075dc1b2f1cda5648cf9ad1f553db3d03b (patch)
tree48cf8c9870b515d4b870710ceeb44d71ee3b6e2b /app/views/shared
parent007267ef8b927646bab0932b5704ff0f3720253f (diff)
downloadgitlab-ce-4c9241075dc1b2f1cda5648cf9ad1f553db3d03b.tar.gz
Warn user deleting a group label affect all projects within the group
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_label.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml
index ba8a3efccda..5cdd18d24f0 100644
--- a/app/views/shared/_label.html.haml
+++ b/app/views/shared/_label.html.haml
@@ -44,7 +44,7 @@
= link_to edit_label_path(label), title: "Edit", class: 'btn btn-transparent btn-action', data: {toggle: "tooltip"} do
%span.sr-only Edit
= icon('pencil-square-o')
- = link_to destroy_label_path(label), title: "Delete", class: 'btn btn-transparent btn-action remove-row', method: :delete, remote: true, data: {confirm: "Remove this label? Are you sure?", toggle: "tooltip"} do
+ = link_to destroy_label_path(label), title: "Delete", class: 'btn btn-transparent btn-action remove-row', method: :delete, remote: true, data: {confirm: label_deletion_confirm_text(label), toggle: "tooltip"} do
%span.sr-only Delete
= icon('trash-o')