<%= render :partial => 'action_menu' %>

<%=l(:label_workflow)%>

<% if @workflow_counts.empty? %>

<%= l(:label_no_data) %>

<% else %>
<% @workflow_counts.first.last.each do |role, count| %> <% end %> <% @workflow_counts.each do |tracker, roles| -%> <% roles.each do |role, count| -%> <% end -%> <% end -%>
<%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %>
<%= h tracker %> <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
<% end %>