Mercurial > hg > soundsoftware-site
comparison .svn/pristine/65/653d3b15d6a3b6957462d2da3ebd8c39d2991134.svn-base @ 1464:261b3d9a4903 redmine-2.4
Update to Redmine 2.4 branch rev 12663
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2014 14:37:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1296:038ba2d95de8 | 1464:261b3d9a4903 |
---|---|
1 <%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %> | |
2 | |
3 <% if @workflow_counts.empty? %> | |
4 <p class="nodata"><%= l(:label_no_data) %></p> | |
5 <% else %> | |
6 <div class="autoscroll"> | |
7 <table class="list"> | |
8 <thead> | |
9 <tr> | |
10 <th></th> | |
11 <% @workflow_counts.first.last.each do |role, count| %> | |
12 <th> | |
13 <%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %> | |
14 </th> | |
15 | |
16 <% end %> | |
17 </tr> | |
18 </thead> | |
19 <tbody> | |
20 <% @workflow_counts.each do |tracker, roles| -%> | |
21 <tr class="<%= cycle('odd', 'even') %>"> | |
22 <td class="name"><%= h tracker %></td> | |
23 <% roles.each do |role, count| -%> | |
24 <td> | |
25 <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %> | |
26 </td> | |
27 <% end -%> | |
28 </tr> | |
29 <% end -%> | |
30 </tbody> | |
31 </table> | |
32 </div> | |
33 <% end %> |