mirror of
https://github.com/redmine/redmine.git
synced 2026-02-07 07:10:18 +01:00
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23223 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user