end
s
end
+
+ def wiki_page_breadcrumb(page)
+ breadcrumb(page.ancestors.reverse.collect {|parent|
+ link_to(h(parent.pretty_title), {:controller => 'wiki', :action => 'show', :id => parent.title, :project_id => parent.project})
+ })
+ end
end
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
</div>
-<h2><%= @page.pretty_title %></h2>
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%=h @page.pretty_title %></h2>
<p>
<%= l(:label_version) %> <%= link_to @annotate.content.version, :action => 'show', :id => @page.title, :version => @annotate.content.version %>
+<%= wiki_page_breadcrumb(@page) %>
+
<h2><%=h @page.pretty_title %></h2>
<% form_tag({}, :method => :delete) do %>
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
</div>
-<h2><%= @page.pretty_title %></h2>
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%=h @page.pretty_title %></h2>
<p>
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
+<%= wiki_page_breadcrumb(@page) %>
+
<h2><%=h @page.pretty_title %></h2>
<% form_for :content, @content, :url => {:action => 'update', :id => @page.title}, :html => {:method => :put, :multipart => true, :id => 'wiki_form'} do |f| %>
-<h2><%= @page.pretty_title %></h2>
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%=h @page.pretty_title %></h2>
<h3><%= l(:label_history) %></h3>
-<h2><%= l(:button_rename) %>: <%= @original_title %></h2>
+<%= wiki_page_breadcrumb(@page) %>
+
+<h2><%=h @original_title %></h2>
<%= error_messages_for 'page' %>
<%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
</div>
-<%= breadcrumb(@page.ancestors.reverse.collect {|parent| link_to h(parent.pretty_title), {:id => parent.title, :project_id => parent.project}}) %>
+<%= wiki_page_breadcrumb(@page) %>
<% if @content.version != @page.content.version %>
<p>