summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-03 07:54:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-03 07:54:46 +0000
commitea89cc6e7e4b3e61b5598c4d9c925d58aaf1f67c (patch)
tree2b81ba37f364fed8883186428d52abeabd7af1c7 /app
parent7ec5dd33df40026bb28f396542c1a7c2a2794b20 (diff)
downloadredmine-ea89cc6e7e4b3e61b5598c4d9c925d58aaf1f67c.tar.gz
redmine-ea89cc6e7e4b3e61b5598c4d9c925d58aaf1f67c.zip
Show thumbnails on documents (#22941).
git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/documents/show.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
</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;",