diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-05 22:01:19 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-05 22:01:19 +0000 |
commit | 18476789890424f28d4768ade54334fb5f67df48 (patch) | |
tree | 77adf52b7e2d0f80ff74e54c920a24f66ee38171 /app | |
parent | b8821120d98900976e29bc2411ff12c3a7e84bbd (diff) | |
download | redmine-18476789890424f28d4768ade54334fb5f67df48.tar.gz redmine-18476789890424f28d4768ade54334fb5f67df48.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/views/attachments/_links.html.erb | 4 | ||||
-rw-r--r-- | app/views/files/index.html.erb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/attachments/_links.html.erb b/app/views/attachments/_links.html.erb index 846ba9496..f098c1038 100644 --- a/app/views/attachments/_links.html.erb +++ b/app/views/attachments/_links.html.erb @@ -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> diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 949362bfc..e6f65a0da 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -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> |