summaryrefslogtreecommitdiffstats
path: root/app/views/workflows/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/workflows/index.html.erb')
-rw-r--r--app/views/workflows/index.html.erb4
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>