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 3 days ago
- Related to Patch #43206: Remove deprecated icon-* classes from stylesheets added
Actions

