2007-03-12 20:59:02 +03:00
|
|
|
<h2><%=l(:label_report_plural)%></h2>
|
|
|
|
|
2007-03-23 15:22:31 +03:00
|
|
|
<div class="splitcontentleft">
|
2007-03-12 20:59:02 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to_if_authorized l(:label_query_new), {:controller => 'projects', :action => 'add_query', :id => @project}, :class => 'icon icon-add' %>
|
|
|
|
</div>
|
|
|
|
<h3><%= l(:label_query_plural) %></h3>
|
|
|
|
|
|
|
|
<% 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>
|
2007-03-23 15:22:31 +03:00
|
|
|
</div>
|
|
|
|
<div class="splitcontentright">
|
|
|
|
<% if @total_hours %>
|
|
|
|
<h3 class="textright"><%= l(:label_spent_time) %>:
|
|
|
|
<%= link_to(lwr(:label_f_hour, @total_hours), {:controller => 'timelog', :action => 'details', :project_id => @project}, :class => 'icon icon-time') %>
|
|
|
|
</h3>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<div class="splitcontentleft">
|
|
|
|
<h3><%=l(:field_tracker)%> <%= link_to image_tag('zoom_in.png'), :detail => 'tracker' %></h3>
|
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %>
|
|
|
|
<br />
|
|
|
|
<h3><%=l(:field_author)%> <%= link_to image_tag('zoom_in.png'), :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_priority)%> <%= link_to image_tag('zoom_in.png'), :detail => 'priority' %></h3>
|
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %>
|
|
|
|
<br />
|
|
|
|
<h3><%=l(:field_category)%> <%= link_to image_tag('zoom_in.png'), :detail => 'category' %></h3>
|
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %>
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
|