<% if @statuses.empty? or rows.empty? %>

<%=l(:label_no_data)%>

<% else %> <% for row in rows %> "> <% end %>
<%=l(:label_open_issues_plural)%> <%=l(:label_closed_issues_plural)%> <%=l(:label_total)%>
<%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, "#{field_name}" => row.id %> <%= aggregate_link data, { field_name => row.id, "closed" => 0 }, :controller => 'projects', :action => 'list_issues', :id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, "#{field_name}" => row.id, "status_id" => "o" %> <%= aggregate_link data, { field_name => row.id, "closed" => 1 }, :controller => 'projects', :action => 'list_issues', :id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, "#{field_name}" => row.id, "status_id" => "c" %> <%= aggregate_link data, { field_name => row.id }, :controller => 'projects', :action => 'list_issues', :id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, "#{field_name}" => row.id, "status_id" => "*" %>
<% end reset_cycle %>