summaryrefslogtreecommitdiffstats
path: root/app/views/reports/issue_report.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/reports/issue_report.rhtml')
-rw-r--r--app/views/reports/issue_report.rhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/reports/issue_report.rhtml b/app/views/reports/issue_report.rhtml
new file mode 100644
index 000000000..4927186a9
--- /dev/null
+++ b/app/views/reports/issue_report.rhtml
@@ -0,0 +1,20 @@
+<h2><%=l(:label_report_plural)%></h2>
+
+<div class="splitcontentleft">
+<h3><%=l(:field_tracker)%>&nbsp;&nbsp;<%= link_to image_tag('details'), :detail => 'author' %></h3>
+<%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %>
+<br />
+<h3><%=l(:field_priority)%>&nbsp;&nbsp;<%= link_to image_tag('details'), :detail => 'priority' %></h3>
+<%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %>
+<br />
+<h3><%=l(:field_author)%>&nbsp;&nbsp;<%= link_to image_tag('details'), :detail => 'author' %></h3>
+<%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %>
+<br />
+</div>
+
+<div class="splitcontentright">
+<h3><%=l(:field_category)%>&nbsp;&nbsp;<%= link_to image_tag('details'), :detail => 'category' %></h3>
+<%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %>
+<br />
+</div>
+