diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-08 17:24:00 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-08 17:24:00 +0000 |
commit | a6462c0bcd69602c4e63abc27339f2ebf64fe120 (patch) | |
tree | 89f77ae04eade763ee16b1bfd1fd95248eabdbf3 /app/views | |
parent | dfc5b2a13bdfaedcb7be9722f19df1e5ce008a81 (diff) | |
download | redmine-a6462c0bcd69602c4e63abc27339f2ebf64fe120.tar.gz redmine-a6462c0bcd69602c4e63abc27339f2ebf64fe120.zip |
Replaces not-ok icon from workflows without any transitions with 0 highlighted with red (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23040 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/workflows/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/workflows/index.html.erb b/app/views/workflows/index.html.erb index 659b55c25..806056050 100644 --- a/app/views/workflows/index.html.erb +++ b/app/views/workflows/index.html.erb @@ -22,9 +22,9 @@ <% @roles.each do |role| -%> <% count = @workflow_counts[[tracker.id, role.id]] || 0 %> <td> - <%= link_to((count > 0 ? count : content_tag(:span, nil, :class => 'icon-only icon-not-ok')), + <%= link_to(count, {:action => 'edit', :role_id => role, :tracker_id => tracker}, - :title => l(:button_edit)) %> + :title => l(:button_edit), :class => ('decoration-red' if count == 0)) %> </td> <% end -%> </tr> |