<%=l(:label_summary)%>
<%
{ 'tracker' => { :rows => @trackers, :data => @issues_by_tracker, :name => "tracker_id" },
'priority' => { :rows => @priorities, :data => @issues_by_priority, :name => "priority_id" },
'assigned_to' => { :rows => @assignees, :data => @issues_by_assigned_to, :name => "assigned_to_id" },
'author' => { :rows => @authors, :data => @issues_by_author, :name => "author_id" }
}.each do |detail, variables| %>
<%= render :partial => 'report_category', :locals => { :detail => detail,
:data => variables[:data],
:field_name => variables[:name],
:rows => variables[:rows] } %>
<% end %>
<%= call_hook(:view_reports_issue_report_split_content_left, :project => @project) %>
<%
details = {'version' => { :rows => @versions, :data => @version, :name => "fixed_version_id" } }
if @project.children.any?
details['subproject'] = { :data => @issues_by_subproject, :name => "project_id", :rows => @subprojects }
end
details['category'] = { :data => @issues_by_category, :name => "category_id", :rows => @categories }
%>
<% details.each do |detail, variables| %>
<%= render :partial => 'report_category', :locals => { :detail => detail,
:data => variables[:data],
:field_name => variables[:name],
:rows => variables[:rows] } %>
<% end %>
<%= call_hook(:view_reports_issue_report_split_content_right, :project => @project) %>