From 7ec5dd33df40026bb28f396542c1a7c2a2794b20 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Jul 2016 07:50:12 +0000 Subject: Hide wiki attachments by default and add thumbnails (#22941). git-svn-id: http://svn.redmine.org/redmine/trunk@15604 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/show.html.erb | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'app/views/wiki') diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index 41dd12d10..1cbfcbc65 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -46,24 +46,26 @@ <%= render(:partial => "wiki/content", :locals => {:content => @content}) %> -<%= link_to_attachments @page %> + <% other_formats_links do |f| %> <%= f.link_to 'PDF', :url => {:id => @page.title, :version => params[:version]} %> -- cgit v1.2.3