Project

General

Profile

Actions

Defect #42953

closed

Replace legacy other download icon with SVG icon

Added by Mizuki ISHIKAWA 15 days ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
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

Also available in: Atom PDF