Mercurial > hg > soundsoftware-site
comparison app/views/workflows/.svn/text-base/index.rhtml.svn-base @ 245:051f544170fe
* Update to SVN trunk revision 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 11:42:28 +0000 |
parents | 8661b858af72 |
children |
comparison
equal
deleted
inserted
replaced
244:8972b600f4fb | 245:051f544170fe |
---|---|
22 <% @workflow_counts.each do |tracker, roles| -%> | 22 <% @workflow_counts.each do |tracker, roles| -%> |
23 <tr class="<%= cycle('odd', 'even') %>"> | 23 <tr class="<%= cycle('odd', 'even') %>"> |
24 <td><%= h tracker %></td> | 24 <td><%= h tracker %></td> |
25 <% roles.each do |role, count| -%> | 25 <% roles.each do |role, count| -%> |
26 <td align="center"> | 26 <td align="center"> |
27 <%= link_to((count > 1 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %> | 27 <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %> |
28 </td> | 28 </td> |
29 <% end -%> | 29 <% end -%> |
30 </tr> | 30 </tr> |
31 <% end -%> | 31 <% end -%> |
32 </tbody> | 32 </tbody> |