From: Marius Balteanu Date: Thu, 7 Nov 2024 21:38:43 +0000 (+0000) Subject: Switches group icon in members box to SVG icon (#41711, #23980). X-Git-Tag: 6.0.0~8^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8438deb8a68fdfaf260b8c8d68d5aad2afa70fa6;p=redmine.git Switches group icon in members box to SVG icon (#41711, #23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23222 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c52484726..4a02d8376 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -76,7 +76,7 @@ module ApplicationHelper end css_classes += " #{options[:class]}" if css_classes && options[:class].present? - url ? link_to(name, url, :class => css_classes) : name + url ? link_to(principal_icon(principal.class.name.downcase).to_s + name, url, :class => css_classes) : name end # Displays a link to edit group page if current user is admin