Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,6 +1,16 @@
|
|||
<%= render :layout => 'layouts/file' do %>
|
||||
<%= render :partial => 'common/other',
|
||||
|
||||
<% kind = if @attachment.is_video?
|
||||
'video'
|
||||
elsif @attachment.is_audio?
|
||||
'audio'
|
||||
end %>
|
||||
|
||||
<%= render :partial => "common/other",
|
||||
:locals => {
|
||||
:kind => kind,
|
||||
:path => download_named_attachment_url(@attachment,
|
||||
@attachment.filename),
|
||||
:download_link => link_to_attachment(
|
||||
@attachment,
|
||||
:text => l(:label_no_preview_download),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue