summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-20 14:22:18 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-20 14:22:18 +0300
commite96374b74bc791858951d21d1a2dd7fb5fbaa1c9 (patch)
treeda2aa95112dd44b940f6ce91f51b3c201976772e /app/views/projects/empty.html.haml
parentedc2e0a64be33dc05a5714acea891965fab1cdfa (diff)
downloadgitlab-ce-e96374b74bc791858951d21d1a2dd7fb5fbaa1c9.tar.gz
Better remove project message
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index b1795b301b0..56dbbf0755e 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -31,4 +31,4 @@
- if can? current_user, :remove_project, @project
.prepend-top-20
- = link_to 'Remove project', @project, confirm: 'Are you sure?', method: :delete, class: "btn btn-remove pull-right"
+ = link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove pull-right"