]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Workflow summary shows X icon for workflow with exactly 1 status transition...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Feb 2011 13:13:10 +0000 (13:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Feb 2011 13:13:10 +0000 (13:13 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4890 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/workflows/index.rhtml

index bed6a34dca32257379fcc0994adbb3e30b1eaf1a..21287a2248927d09ca440b3cf24936bf6dfdf1eb 100644 (file)
@@ -24,7 +24,7 @@
   <td><%= h tracker %></td>
   <% roles.each do |role, count| -%>
     <td align="center">
-      <%= link_to((count > 1 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
+      <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
     </td>
   <% end -%>
 </tr>