Project

General

Profile

Defect #41918 » 0002-Replace-warning-icon-in-watcher-list-with-SVG.patch

Takenori TAKAKI, 2024-12-11 06:19

View differences:

app/helpers/watchers_helper.rb
52 52
      s << avatar(user, :size => "16").to_s if user.is_a?(User)
53 53
      s << link_to_principal(user, class: user.class.to_s.downcase)
54 54
      if object.respond_to?(:visible?) && user.is_a?(User) && !object.visible?(user)
55
        s << content_tag('span', l(:notice_invalid_watcher), class: 'icon-only icon-warning', title: l(:notice_invalid_watcher))
55
        s << content_tag('span', sprite_icon('warning', l(:notice_invalid_watcher)), class: 'icon-only icon-warning', title: l(:notice_invalid_watcher))
56 56
      end
57 57
      if remove_allowed
58 58
        url = {:controller => 'watchers',
(12-12/15)