1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-29 11:49:37 +00:00

Show thumbnails on documents (#22941).

git-svn-id: http://svn.redmine.org/redmine/trunk@15605 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-07-03 07:54:46 +00:00
parent 7ec5dd33df
commit ea89cc6e7e

View 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;",