You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

issue_report.html.erb 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <h2><%=l(:label_report_plural)%></h2>
  2. <div class="splitcontent">
  3. <div class="splitcontentleft">
  4. <h3>
  5. <%=l(:field_tracker)%>&nbsp;
  6. <%= link_to l(:label_details),
  7. project_issues_report_details_path(@project, :detail => 'tracker'),
  8. :class => 'icon-only icon-zoom-in',
  9. :title => l(:label_details) %>
  10. </h3>
  11. <%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %>
  12. <br />
  13. <h3>
  14. <%=l(:field_priority)%>&nbsp;
  15. <%= link_to l(:label_details),
  16. project_issues_report_details_path(@project, :detail => 'priority'),
  17. :class => 'icon-only icon-zoom-in',
  18. :title => l(:label_details) %>
  19. </h3>
  20. <%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %>
  21. <br />
  22. <h3>
  23. <%=l(:field_assigned_to)%>&nbsp;
  24. <%= link_to l(:label_details),
  25. project_issues_report_details_path(@project, :detail => 'assigned_to'),
  26. :class => 'icon-only icon-zoom-in',
  27. :title => l(:label_details) %>
  28. </h3>
  29. <%= render :partial => 'simple', :locals => { :data => @issues_by_assigned_to, :field_name => "assigned_to_id", :rows => @assignees } %>
  30. <br />
  31. <h3>
  32. <%=l(:field_author)%>&nbsp;
  33. <%= link_to l(:label_details),
  34. project_issues_report_details_path(@project, :detail => 'author'),
  35. :class => 'icon-only icon-zoom-in',
  36. :title => l(:label_details) %>
  37. </h3>
  38. <%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %>
  39. <br />
  40. <%= call_hook(:view_reports_issue_report_split_content_left, :project => @project) %>
  41. </div>
  42. <div class="splitcontentright">
  43. <h3>
  44. <%=l(:field_version)%>&nbsp;
  45. <%= link_to l(:label_details),
  46. project_issues_report_details_path(@project, :detail => 'version'),
  47. :class => 'icon-only icon-zoom-in',
  48. :title => l(:label_details) %>
  49. </h3>
  50. <%= render :partial => 'simple', :locals => { :data => @issues_by_version, :field_name => "fixed_version_id", :rows => @versions } %>
  51. <br />
  52. <% if @project.children.any? %>
  53. <h3>
  54. <%=l(:field_subproject)%>&nbsp;
  55. <%= link_to l(:label_details),
  56. project_issues_report_details_path(@project, :detail => 'subproject'),
  57. :class => 'icon-only icon-zoom-in',
  58. :title => l(:label_details) %>
  59. </h3>
  60. <%= render :partial => 'simple', :locals => { :data => @issues_by_subproject, :field_name => "project_id", :rows => @subprojects } %>
  61. <br />
  62. <% end %>
  63. <h3>
  64. <%=l(:field_category)%>&nbsp;
  65. <%= link_to l(:label_details),
  66. project_issues_report_details_path(@project, :detail => 'category'),
  67. :class => 'icon-only icon-zoom-in',
  68. :title => l(:label_details) %>
  69. </h3>
  70. <%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %>
  71. <br />
  72. <%= call_hook(:view_reports_issue_report_split_content_right, :project => @project) %>
  73. </div>
  74. </div>