<% 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, aggregate_path(@project, field_name, row, :subproject_id => nil) %> <%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o", :subproject_id => nil) %> <%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c", :subproject_id => nil) %> <%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*", :subproject_id => nil) %>
<%= l(:label_total) %> <%= aggregate data, { "closed" => 0 } %> <%= aggregate data, { "closed" => 1 } %> <%= aggregate data, { } %>
<% end %>