diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-20 13:13:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-20 13:13:10 +0000 |
commit | 490ad9eeb80057e97da74b1a1031c42d2af0413c (patch) | |
tree | be5d66c30a2eec4b5450b93926f10765de732ad0 | |
parent | 58f5d3ab098bd46cdd3a786d9ef6516200683f11 (diff) | |
download | redmine-490ad9eeb80057e97da74b1a1031c42d2af0413c.tar.gz redmine-490ad9eeb80057e97da74b1a1031c42d2af0413c.zip |
Fixed: Workflow summary shows X icon for workflow with exactly 1 status transition (#7611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4890 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/workflows/index.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/workflows/index.rhtml b/app/views/workflows/index.rhtml index bed6a34dc..21287a224 100644 --- a/app/views/workflows/index.rhtml +++ b/app/views/workflows/index.rhtml @@ -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> |