summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-11-29 03:31:55 +0000
committerGo MAEDA <maeda@farend.jp>2024-11-29 03:31:55 +0000
commite61e40564653d94e8c3be6804fb19f24be105caa (patch)
tree38ecba7f3bb088894af7d9cca1b65b16c926446d
parent8d218ba6b9a7951de3783e85846b655a9b267c49 (diff)
downloadredmine-e61e40564653d94e8c3be6804fb19f24be105caa.tar.gz
redmine-e61e40564653d94e8c3be6804fb19f24be105caa.zip
Replace deprecated raster icon with SVG in download button for issue comments (#41883).
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23323 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index dc5b894e5..b4c87f758 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -618,7 +618,7 @@ module IssuesHelper
value = link_to_attachment(atta, only_path: options[:only_path])
if options[:only_path] != false
value += ' '
- value += link_to_attachment atta, class: 'icon-only icon-download', title: l(:button_download), download: true
+ value += link_to_attachment atta, class: 'icon-only icon-download', title: l(:button_download), download: true, icon: 'download'
end
else
value = content_tag("i", h(value)) if value