Project

General

Profile

Actions

Defect #42953

closed

Replace legacy other download icon with SVG icon

Added by Mizuki ISHIKAWA 14 days ago. Updated 11 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 #1

Updated by Go MAEDA 14 days ago

  • Target version set to 6.0.6
Actions #2

Updated by Marius BĂLTEANU 13 days ago

  • Status changed from New to Resolved
  • Assignee set to Marius BĂLTEANU
  • Resolution set to Fixed

Committed, thanks!

Actions #3

Updated by Marius BĂLTEANU 12 days ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Marius BĂLTEANU 11 days ago

  • Status changed from Closed to Resolved
Actions #5

Updated by Marius BĂLTEANU 11 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF