]> source.dussan.org Git - redmine.git/commitdiff
Show thumbnails on documents (#22941).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 3 Jul 2016 07:54:46 +0000 (07:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 3 Jul 2016 07:54:46 +0000 (07:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/documents/show.html.erb

index 8d2e495c09112a515b8b5e810776393d03692e07..799803c9e804f1bb4149be6259dfbfbd75b2a918 100644 (file)
@@ -25,7 +25,7 @@
 </div>
 
 <h3><%= l(:label_attachment_plural) %></h3>
-<%= link_to_attachments @document %>
+<%= link_to_attachments @document, :thumbnails => true %>
 
 <% if authorize_for('documents', 'add_attachment') %>
 <p><%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;",