diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-24 16:07:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-24 16:07:06 +0000 |
commit | faa3d984ab0a44da354b901f4962d3441b800f99 (patch) | |
tree | f750d4fad72e14e5f18b32f0dd0bdef6ab0695d1 /app/views/reports | |
parent | 6d7a855ca2f497a0deeb728d4d7da5cf4afa1d51 (diff) | |
download | redmine-faa3d984ab0a44da354b901f4962d3441b800f99.tar.gz redmine-faa3d984ab0a44da354b901f4962d3441b800f99.zip |
Added time report.
Report can be generated by member/activity/tracker/version and year/month/week for the selected period.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@572 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports')
-rw-r--r-- | app/views/reports/issue_report.rhtml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/reports/issue_report.rhtml b/app/views/reports/issue_report.rhtml index 3af936a5f..bf40e79ae 100644 --- a/app/views/reports/issue_report.rhtml +++ b/app/views/reports/issue_report.rhtml @@ -1,11 +1,13 @@ -<h2><%=l(:label_report_plural)%></h2> - <% 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> +<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> <% end %> +<h2><%=l(:label_report_plural)%></h2> + <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 } %> |