2007-08-29 20:52:35 +04:00
|
|
|
<% if @total_hours && authorize_for('timelog', 'reports') %>
|
2007-06-24 20:07:06 +04:00
|
|
|
<div style="float:right;text-align:right;">
|
|
|
|
<strong><%= l(:label_spent_time) %></strong>: <span class="icon icon-time"><%= lwr(:label_f_hour, @total_hours) %></span><br />
|
|
|
|
<%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> |
|
|
|
|
<%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %>
|
|
|
|
</div>
|
2007-03-23 15:22:31 +03:00
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-06-24 20:07:06 +04:00
|
|
|
<h2><%=l(:label_report_plural)%></h2>
|
|
|
|
|
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 />
|
2007-05-26 20:06:02 +04:00
|
|
|
<h3><%=l(:field_version)%> <%= link_to image_tag('zoom_in.png'), :detail => 'version' %></h3>
|
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_version, :field_name => "fixed_version_id", :rows => @versions } %>
|
|
|
|
<br />
|
2007-03-12 20:59:02 +03:00
|
|
|
<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 />
|
2007-04-03 23:48:49 +04:00
|
|
|
<% if @project.children.any? %>
|
|
|
|
<h3><%=l(:field_subproject)%> <%= link_to image_tag('zoom_in.png'), :detail => 'subproject' %></h3>
|
|
|
|
<%= render :partial => 'simple', :locals => { :data => @issues_by_subproject, :field_name => "project_id", :rows => @subprojects } %>
|
|
|
|
<br />
|
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<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>
|
|
|
|
|