Download link in document's edit form
This commit is contained in:
parent
35a13e6297
commit
2c17985edb
@ -38,5 +38,6 @@
|
||||
class: 'icon dmsf-icon-link' %>
|
||||
<%= link_to "#{l(:button_copy)}/#{l(:button_move)}", copy_file_path(id: file, back_url: back_url),
|
||||
title: l(:title_copy), class: 'icon icon-copy' %>
|
||||
<%= link_to l(:button_download), view_dmsf_file_path(file, disposition: 'attachment'), class: 'icon icon-download' %>
|
||||
<%= delete_link(dmsf_file_path(id: file, details: true),
|
||||
back_url: dmsf_folder_path(id: file.project, folder_id: file.dmsf_folder)) if file_delete_allowed %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user