]> source.dussan.org Git - redmine.git/commitdiff
Switches checkmark icon in tables with SVG icon (#41710, #23980).
authorMarius Balteanu <marius.balteanu@zitec.com>
Thu, 7 Nov 2024 16:32:38 +0000 (16:32 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Thu, 7 Nov 2024 16:32:38 +0000 (16:32 +0000)
Patch by Bernhard Rohloff (user:cappumuc).

git-svn-id: https://svn.redmine.org/redmine/trunk@23221 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 989d881945c144b4a755e29270b1ae09e220f0dc..c5248472615567d47ca95cce3a9c5f20f0aecd20 100644 (file)
@@ -1661,7 +1661,7 @@ module ApplicationHelper
 
   def checked_image(checked=true)
     if checked
-      @checked_image_tag ||= content_tag(:span, nil, :class => 'icon-only icon-checked')
+      @checked_image_tag ||= content_tag(:span, sprite_icon("checked"), :class => 'icon-only icon-checked')
     end
   end