mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fixes issue introduced in r23145 for rendering attachment and download icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23214 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b8821120d9
commit
1847678989
@ -15,9 +15,9 @@
|
||||
<% for attachment in attachments %>
|
||||
<tr>
|
||||
<td>
|
||||
<%= link_to_attachment attachment, class: 'icon icon-attachment ', sprite_icon: 'attachment' -%>
|
||||
<%= link_to_attachment attachment, class: 'icon icon-attachment ', icon: 'attachment' -%>
|
||||
<span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
|
||||
<%= link_to_attachment attachment, class: 'icon-only icon-download ', title: l(:button_download), download: true, sprite_icon: 'download' -%>
|
||||
<%= link_to_attachment attachment, class: 'icon-only icon-download ', title: l(:button_download), download: true, icon: 'download' -%>
|
||||
</td>
|
||||
<td><%= attachment.description unless attachment.description.blank? %></td>
|
||||
<td>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<td class="downloads"><%= file.downloads %></td>
|
||||
<td class="digest"><%= file.digest_type %>: <%= file.digest %></td>
|
||||
<td class="buttons">
|
||||
<%= link_to_attachment file, class: 'icon-only icon-download', title: l(:button_download), download: true, sprite_icon: 'download' %>
|
||||
<%= link_to_attachment file, class: 'icon-only icon-download', title: l(:button_download), download: true, icon: 'download' %>
|
||||
<%= link_to(sprite_icon('del', l(:button_delete)), attachment_path(file), :class => 'icon-only icon-del',
|
||||
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %>
|
||||
</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user