% if @statuses.empty? or rows.empty? %>
<%=l(:label_no_data)%>
<% else %> <% col_width = 70 / (@statuses.length+3) %><% for status in @statuses %> | <%= status.name %> | <% end %><%=l(:label_open_issues_plural)%> | <%=l(:label_closed_issues_plural)%> | <%=l(:label_total)%> |
---|---|---|---|---|
<%= link_to row.name, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, :subproject_id => '!*', "#{field_name}" => row.id %> | <% for status in @statuses %><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, :subproject_id => '!*', "status_id" => status.id, "#{field_name}" => row.id %> | <% end %><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "o" %> | <%= aggregate_link data, { field_name => row.id, "closed" => 1 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "c" %> | <%= aggregate_link data, { field_name => row.id }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "*" %> |