summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index a850d0918..e181f85c5 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -33,7 +33,7 @@
<td align="center"><%= format_date(project.created_on) %>
<td align="center" style="width:10%">
<small>
- <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project }, :method => :post, :class => 'icon icon-lock') if project.active? %>
+ <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %>
<%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %>
</small>
</td>