##// END OF EJS Templates
Code cleanup: renamed variables in User#allowed_to? with explicit names...
Code cleanup: renamed variables in User#allowed_to? with explicit names git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4234 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3957:8d52608dbad6
r4120:c43ef6e7696e
Show More
destroy.rhtml
16 lines | 586 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_confirmation)%></h2>
Jean-Philippe Lang
Warn user that subprojects are also deleted when deleting a project (#1111) and add a checkbox to confirm the deletion....
r1344 <div class="warning">
<p><strong><%=h @project_to_destroy %></strong><br />
<%=l(:text_project_destroy_confirmation)%>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Merged nested projects branch. Removes limit on subproject nesting (#594)....
r2302 <% 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(', ')))) %>
Jean-Philippe Lang
Warn user that subprojects are also deleted when deleting a project (#1111) and add a checkbox to confirm the deletion....
r1344 <% end %>
</p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p>
Eric Davis
Refactor: convert the Projects routes to resources....
r3957 <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
Jean-Philippe Lang
Warn user that subprojects are also deleted when deleting a project (#1111) and add a checkbox to confirm the deletion....
r1344 <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= submit_tag l(:button_delete) %>
<% end %>
</p>
Jean-Philippe Lang
Warn user that subprojects are also deleted when deleting a project (#1111) and add a checkbox to confirm the deletion....
r1344 </div>