From 152f973833bc5f4ed444b9086a8b0ee48a4b9785 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 29 Jul 2017 08:01:41 +0000 Subject: Add update info at the bottom of the wiki page. git-svn-id: http://svn.redmine.org/redmine/trunk@16905 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/show.html.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'app/views/wiki') diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index c7d186176..a4de3e7eb 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -14,7 +14,6 @@ <%= link_to_if_authorized(l(:button_rollback), {:action => 'edit', :id => @page.title, :version => @content.version }, :class => 'icon icon-cancel') %> <% end %> <% end %> -<%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %> <%= wiki_page_breadcrumb(@page) %> @@ -67,6 +66,13 @@ +<% if User.current.allowed_to?(:view_wiki_edits, @project) %> +

+ <%= wiki_content_update_info(@content) %> + ยท <%= link_to l(:label_x_revisions, :count => @content.version), {:action => 'history', :id => @page.title} %> +

+<% end %> + <% other_formats_links do |f| %> <%= f.link_to 'PDF', :url => {:id => @page.title, :version => params[:version]} %> <%= f.link_to 'HTML', :url => {:id => @page.title, :version => params[:version]} %> -- cgit v1.2.3