<% col_width = 70 / (@statuses.length+3) %> <% for status in @statuses %> <% end %> <% for row in rows %> <% for status in @statuses %> <% end %> <% end %>
<%= status.name %><%=_('Open')%> <%=_('Closed')%> <%=_('Total')%>
<%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1, "#{field_name}" => row.id %><%= link_to (aggregate data, { field_name => row.id, "status_id" => status.id }), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1, "status_id" => status.id, "#{field_name}" => row.id %><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1, "#{field_name}" => row.id, "status_id" => "O" %> <%= aggregate data, { field_name => row.id, "closed" => 1 } %> <%= link_to (aggregate data, { field_name => row.id }), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1, "#{field_name}" => row.id, "status_id" => "A" %>