%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %> <% if @roles.empty? || @trackers.empty? %>
<%= l(:label_no_data) %>
<% else %><% @roles.each do |role| %> | <%= content_tag(role.builtin? ? 'em' : 'span', role.name) %> | <% end %>
---|---|
<%= tracker.name %> | <% @roles.each do |role| -%> <% count = @workflow_counts[[tracker.id, role.id]] || 0 %><%= link_to((count > 0 ? count : content_tag(:span, nil, :class => 'icon-only icon-not-ok')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %> | <% end -%>