diff .svn/pristine/c3/c337c1d71535f0f645a5577b10e1a55ce3ca183c.svn-base @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/c3/c337c1d71535f0f645a5577b10e1a55ce3ca183c.svn-base	Tue Jan 14 14:37:42 2014 +0000
@@ -0,0 +1,19 @@
+<%= title l(:label_confirmation) %>
+
+<div class="warning">
+<p><strong><%=h @project_to_destroy %></strong><br />
+<%=l(:text_project_destroy_confirmation)%>
+
+<% if @project_to_destroy.descendants.any? %>
+<br /><%= l(:text_subprojects_destroy_warning,
+          content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
+<% end %>
+</p>
+<p>
+    <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
+    <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
+    <%= submit_tag l(:button_delete) %>
+    <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
+    <% end %>
+</p>
+</div>