From e61e40564653d94e8c3be6804fb19f24be105caa Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 29 Nov 2024 03:31:55 +0000 Subject: 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 --- app/helpers/issues_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3