Actions
Defect #42953
openReplace legacy other download icon with SVG icon
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
The download icon displayed when previewing unsupported file types(e.g., pdf) will be replaced with an SVG icon.
diff --git a/app/views/attachments/other.html.erb b/app/views/attachments/other.html.erb
index f0f732f6f..613c470df 100644
--- a/app/views/attachments/other.html.erb
+++ b/app/views/attachments/other.html.erb
@@ -14,6 +14,7 @@
:download_link => link_to_attachment(
@attachment,
:text => l(:label_no_preview_download),
+ :icon => 'download',
:download => true,
:class => 'icon icon-download'
)
before | after |
![]() |
![]() |
Files
Actions