Mercurial > hg > soundsoftware-site
comparison app/views/workflows/.svn/text-base/index.rhtml.svn-base @ 246:eeebe205a056 cannam
* Merge from default branch, bringing us up to SVN trunk rev 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 12:02:03 +0000 |
parents | 051f544170fe |
children |
comparison
equal
deleted
inserted
replaced
138:fca2657f4aa5 | 246:eeebe205a056 |
---|---|
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> |