diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-29 07:58:59 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-29 07:58:59 +0000 |
commit | 018d89bf8ac3b0f6d9f545a0aeb8cc5c3bbec56e (patch) | |
tree | 9fb8a2c0b10a0e5c59901b7cdef20cb8ef5da7b6 /app/helpers/watchers_helper.rb | |
parent | d63678068a2e31dcd9930c0f96e07dc2dcb78b6b (diff) | |
download | redmine-018d89bf8ac3b0f6d9f545a0aeb8cc5c3bbec56e.tar.gz redmine-018d89bf8ac3b0f6d9f545a0aeb8cc5c3bbec56e.zip |
Fixes that group icons in Watchers box have both the old and the new icon style (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23328 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/watchers_helper.rb')
-rw-r--r-- | app/helpers/watchers_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb index f7763e41b..00afd30ae 100644 --- a/app/helpers/watchers_helper.rb +++ b/app/helpers/watchers_helper.rb @@ -49,7 +49,7 @@ module WatchersHelper content = ''.html_safe lis = object.watcher_users.sorted.collect do |user| s = ''.html_safe - s << avatar(user, :size => "16").to_s + s << avatar(user, :size => "16").to_s if user.is_a?(User) s << link_to_principal(user, class: user.class.to_s.downcase) if object.respond_to?(:visible?) && user.is_a?(User) && !object.visible?(user) s << content_tag('span', l(:notice_invalid_watcher), class: 'icon-only icon-warning', title: l(:notice_invalid_watcher)) |