mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
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
This commit is contained in:
parent
8d218ba6b9
commit
e61e405646
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user