Adds some links for wiki history navigation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12221 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-10-14 16:58:39 +00:00
parent 5f747faa58
commit 699317e12e
4 changed files with 14 additions and 11 deletions
+6 -7
View File
@@ -6,15 +6,14 @@
<%= wiki_page_breadcrumb(@page) %>
<h2><%=h @page.pretty_title %></h2>
<%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)],
[l(:label_history), history_project_wiki_page_path(@page.project, @page.title)],
"#{l(:label_version)} #{@annotate.content.version}" %>
<p>
<%= l(:label_version) %> <%= link_to h(@annotate.content.version),
:action => 'show', :project_id => @project,
:id => @page.title, :version => @annotate.content.version %>
<em>(<%= h(@annotate.content.author ?
@annotate.content.author.name : l(:label_user_anonymous))
%>, <%= format_time(@annotate.content.updated_on) %>)</em>
<em><%= @annotate.content.author ? link_to_user(@annotate.content.author) : l(:label_user_anonymous)
%>, <%= format_time(@annotate.content.updated_on) %> </em><br />
<%=h @annotate.content.comments %>
</p>
<% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %>