From ea89cc6e7e4b3e61b5598c4d9c925d58aaf1f67c 2016-07-03 07:54:46 From: Jean-Philippe Lang Date: 2016-07-03 07:54:46 Subject: [PATCH] Show thumbnails on documents (#22941). git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 8d2e495..799803c 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;",