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

<%=l(:label_no_data)%>

<% else %> <% for status in @statuses %> <% end %> <% for row in rows %> <% for status in @statuses %> <% end %> <% end %> <% for status in @statuses %> <% end %>
<%= status.name %><%=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, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id, :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, { "status_id" => status.id } %><%= aggregate data, { "closed" => 0 } %> <%= aggregate data, { "closed" => 1 } %> <%= aggregate data, { } %>
<% other_formats_links do |f| %> <%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %> <% end %>
<% end %>