1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-26 02:11:15 +00:00
redmine/app/views/attachments/other.html.erb
Jean-Philippe Lang 580b591c57 Add download link to no preview message (#26035).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 09:51:19 +00:00

12 lines
469 B
Plaintext

<%= render :layout => 'layouts/file' do %>
<%= render :partial => 'common/other',
:locals => {
:download_link => link_to_attachment(
@attachment,
:text => l(:label_no_preview_download),
:download => true,
:class => 'icon icon-download'
)
} %>
<% end %>