2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_report_plural)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-12-16 16:37:32 +03:00
|
|
|
<div class="contextual">
|
2007-01-08 22:21:59 +03:00
|
|
|
<%= link_to_if_authorized l(:label_query_new), {:controller => 'projects', :action => 'add_query', :id => @project}, :class => 'icon icon-add' %>
|
2006-12-16 16:37:32 +03:00
|
|
|
</div>
|
2007-01-19 20:23:47 +03:00
|
|
|
<h3><%= l(:label_query_plural) %></h3>
|
2006-12-16 16:37:32 +03:00
|
|
|
|
|
|
|
<% if @queries.empty? %><p><i><%=l(:label_no_data)%></i></p><% end %>
|
|
|
|
<ul>
|
|
|
|
<% @queries.each do |query| %>
|
|
|
|
<li><%= link_to query.name, :controller => 'projects', :action => 'list_issues', :id => @project, :query_id => query %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
2006-10-21 16:57:19 +04:00
|
|
|
<div class="splitcontentleft">
|
2007-01-08 22:21:59 +03:00
|
|
|
<h3><%=l(:field_tracker)%> <%= link_to image_tag('zoom_in.png'), :detail => 'tracker' %></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %>
|
2006-10-22 18:47:25 +04:00
|
|
|
<br />
|
2007-01-08 22:21:59 +03:00
|
|
|
<h3><%=l(:field_author)%> <%= link_to image_tag('zoom_in.png'), :detail => 'author' %></h3>
|
2006-10-21 19:41:42 +04:00
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %>
|
2006-10-22 18:47:25 +04:00
|
|
|
<br />
|
2006-10-21 16:57:19 +04:00
|
|
|
</div>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-10-21 16:57:19 +04:00
|
|
|
<div class="splitcontentright">
|
2007-01-08 22:21:59 +03:00
|
|
|
<h3><%=l(:field_priority)%> <%= link_to image_tag('zoom_in.png'), :detail => 'priority' %></h3>
|
2006-12-16 16:37:32 +03:00
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %>
|
|
|
|
<br />
|
2007-01-08 22:21:59 +03:00
|
|
|
<h3><%=l(:field_category)%> <%= link_to image_tag('zoom_in.png'), :detail => 'category' %></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %>
|
2006-10-22 18:47:25 +04:00
|
|
|
<br />
|
2006-10-21 16:57:19 +04:00
|
|
|
</div>
|
2006-06-28 22:11:03 +04:00
|
|
|
|