Project

General

Profile

Actions

Defect #42953

open

Replace legacy other download icon with SVG icon

Added by Mizuki ISHIKAWA about 6 hours ago. Updated about 5 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
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 #1

Updated by Go MAEDA about 5 hours ago

  • Target version set to 6.0.6
Actions

Also available in: Atom PDF