% if @statuses.empty? or rows.empty? %>
<%=l(:label_no_data)%>
<% else %><% for status in @statuses %> | <%= status.name %> | <% 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) %> | <% for status in @statuses %><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id, :subproject_id => nil) %> | <% end %><%= 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) %> | <% for status in @statuses %><%= aggregate data, { "status_id" => status.id } %> | <% end %><%= aggregate data, { "closed" => 0 } %> | <%= aggregate data, { "closed" => 1 } %> | <%= aggregate data, { } %> |