From ea89cc6e7e4b3e61b5598c4d9c925d58aaf1f67c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Jul 2016 07:54:46 +0000 Subject: Show thumbnails on documents (#22941). git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/documents/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 8d2e495c0..799803c9e 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -25,7 +25,7 @@

<%= l(:label_attachment_plural) %>

-<%= link_to_attachments @document %> +<%= link_to_attachments @document, :thumbnails => true %> <% if authorize_for('documents', 'add_attachment') %>

<%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;", -- cgit v1.2.3