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 %>
|
- <%= link_to_attachment attachment, class: 'icon icon-attachment ', sprite_icon: 'attachment' -%>
+ <%= link_to_attachment attachment, class: 'icon icon-attachment ', icon: 'attachment' -%>
(<%= number_to_human_size attachment.filesize %>)
- <%= 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' -%>
|
<%= attachment.description unless attachment.description.blank? %> |
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 @@
| <%= file.downloads %> |
<%= file.digest_type %>: <%= file.digest %> |
- <%= 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 %>
|