diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 12:22:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 12:22:31 +0000 |
commit | 8d54d9700746636849bd104f4d18db479492505e (patch) | |
tree | a8d9c209a929b2c6a63dbbf2cbc7f717d264ad6f /app/views/reports/issue_report.rhtml | |
parent | 7cf2d889d8866226378db250a2c7ec2fc77ef9fc (diff) | |
download | redmine-8d54d9700746636849bd104f4d18db479492505e.tar.gz redmine-8d54d9700746636849bd104f4d18db479492505e.zip |
Simple time tracking functionality added. Time can be logged at issue or project level.
There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue.
A new "activities" enumeration is added.
Permission for a role to log time must be set (new "Time tracking" section in role permissions screen).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports/issue_report.rhtml')
-rw-r--r-- | app/views/reports/issue_report.rhtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/reports/issue_report.rhtml b/app/views/reports/issue_report.rhtml index 8ad45afcf..8f832f87e 100644 --- a/app/views/reports/issue_report.rhtml +++ b/app/views/reports/issue_report.rhtml @@ -1,5 +1,6 @@ <h2><%=l(:label_report_plural)%></h2> +<div class="splitcontentleft"> <div class="contextual"> <%= link_to_if_authorized l(:label_query_new), {:controller => 'projects', :action => 'add_query', :id => @project}, :class => 'icon icon-add' %> </div> @@ -11,6 +12,16 @@ <li><%= link_to query.name, :controller => 'projects', :action => 'list_issues', :id => @project, :query_id => query %></li> <% end %> </ul> +</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> <div class="splitcontentleft"> <h3><%=l(:field_tracker)%> <%= link_to image_tag('zoom_in.png'), :detail => 'tracker' %></h3> |