Actions
Defect #43422
closedFile format custom fields use legacy download icon instead of SVG icon
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Previously, when a ticket included a file-type custom field, a download icon appeared next to the file name. However, the icon is now replaced by the file name itself.
| Before changes | After changes |
|---|---|
![]() |
![]() |
This issue can be fixed by adding the following code to display it as an SVG icon.
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index c3296038c..5fc725a82 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -313,6 +313,7 @@ module ApplicationHelper
link_to_attachment(
object,
:class => ['icon-only', 'icon-download'],
+ :icon => 'download',
:title => l(:button_download),
:download => true
)
Files
Related issues
Updated by Go MAEDA about 2 months ago
- Subject changed from Download icon not displayed for file format custom fields to File format custom fields use legacy download icon instead of SVG icon
- Status changed from New to Confirmed
- Target version set to 6.1.1
Setting the target version to 6.1.1.
Updated by Go MAEDA about 2 months ago
- Related to Patch #43206: Remove deprecated icon-* classes from stylesheets added
Updated by Go MAEDA about 2 months ago
- Status changed from Confirmed to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix in r24089. Thank you.
Updated by Go MAEDA about 2 months ago
- Status changed from Resolved to Closed
Merged the fix into 6.1-stable branch in r24092.
Actions

