Merge pull request #294 from windheartwen/patch-1
Update _file.html.erb
This commit is contained in:
commit
922c3a5bda
@ -25,7 +25,7 @@
|
||||
<td class="check"><%= check_box_tag(name, id, false,
|
||||
:title => l(:title_check_for_zip_download_or_email)) %></td>
|
||||
<td class="title">
|
||||
<% file_download_url = url_for({:only_path => false, :controller => :dmsf_files, :action => 'show', :id => file, :download => ''}) %>
|
||||
<% file_download_url = url_for({:only_path => true, :controller => :dmsf_files, :action => 'show', :id => file, :download => ''}) %>
|
||||
<%= link_to(h(title),
|
||||
file_download_url,
|
||||
:class => "icon icon-file #{DmsfHelper.filetype_css(file.name)}",
|
||||
@ -180,4 +180,4 @@
|
||||
<td class="hidden">1</td>
|
||||
<td class="hidden"><%= file.last_revision.size %></td>
|
||||
<td class="hidden"><%= file.last_revision.updated_at.to_i %></td>
|
||||
<td class="hidden"><%= file.last_revision.iversion %></td>
|
||||
<td class="hidden"><%= file.last_revision.iversion %></td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user