From 2d438428a9f919dd2757be819eefd37daf55a154 Mon Sep 17 00:00:00 2001 From: Takenori Takaki Date: Wed, 11 Dec 2024 10:25:46 +0900 Subject: [PATCH 2/5] Replace warning icon in watcher list with SVG --- app/helpers/watchers_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb index 00afd30aee..882325c187 100644 --- a/app/helpers/watchers_helper.rb +++ b/app/helpers/watchers_helper.rb @@ -52,7 +52,7 @@ module WatchersHelper 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)) + s << content_tag('span', sprite_icon('warning', l(:notice_invalid_watcher)), class: 'icon-only icon-warning', title: l(:notice_invalid_watcher)) end if remove_allowed url = {:controller => 'watchers', -- 2.30.0