Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
24
app/views/projects/destroy.html.erb
Normal file
24
app/views/projects/destroy.html.erb
Normal file
|
@ -0,0 +1,24 @@
|
|||
<%= title l(:label_confirmation) %>
|
||||
|
||||
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
|
||||
<div class="warning">
|
||||
<p><strong><%=h @project_to_destroy %></strong></p>
|
||||
|
||||
<p>
|
||||
<%=l(:text_project_destroy_confirmation)%>
|
||||
<% if @project_to_destroy.descendants.any? %>
|
||||
<br />
|
||||
<%= l(:text_subprojects_destroy_warning,
|
||||
content_tag('strong', @project_to_destroy.descendants.collect{|p| p.to_s}.join(', '))).html_safe %>
|
||||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<%= submit_tag l(:button_delete) %>
|
||||
<%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
|
||||
</p>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue