##// END OF EJS Templates
Perf: use a custom decoder for Role#permissions instead of YAML.load....
Perf: use a custom decoder for Role#permissions instead of YAML.load. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9916 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9346:5e57a1a9d947
r9733:a1f17b982c72
Show More
destroy.html.erb
22 lines | 1.0 KiB | text/plain | TextLexer
/ app / views / wiki / destroy.html.erb
Jean-Philippe Lang
Adds breadcrumb on all wiki page views....
r6062 <%= wiki_page_breadcrumb(@page) %>
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <h2><%=h @page.pretty_title %></h2>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}, :method => :delete) do %>
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <div class="box">
<p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p>
<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br />
<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label>
<% if @reassignable_to.any? %>
<br />
<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>:
Toshi MARUYAMA
[#9489] corrected labels and translations for reassign forms...
r7576 <%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %>
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to),
Toshi MARUYAMA
replace tabs to spaces at app/views/wiki/destroy.html.erb...
r7268 :onclick => "$('todo_reassign').checked = true;" %>
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <% end %>
</p>
</div>
<%= submit_tag l(:button_apply) %>
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 <%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %>
Jean-Philippe Lang
Ask user what to do with child pages when deleting a parent wiki page (#3202)....
r2584 <% end %>