diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-16 12:21:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-16 12:21:54 +0000 |
commit | a8fcf8487d4165741cf8bffe71ce6302c6aab4e2 (patch) | |
tree | 9057ac438d134a4f7209f9759b487e12f7edbc1d /app/controllers/my_controller.rb | |
parent | 5b6978a1f3f8d4aa6da9607d06217e4322b7feb8 (diff) | |
download | redmine-a8fcf8487d4165741cf8bffe71ce6302c6aab4e2.tar.gz redmine-a8fcf8487d4165741cf8bffe71ce6302c6aab4e2.zip |
Add a time tracking block for 'My page' (#615).
It lists current user's time entries for the last 7 days across all projects, grouped by day with subtotals for each day, and a grand total.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1260 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r-- | app/controllers/my_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index cb326bc93..ff3393e90 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -26,7 +26,8 @@ class MyController < ApplicationController 'issueswatched' => :label_watched_issues, 'news' => :label_news_latest, 'calendar' => :label_calendar, - 'documents' => :label_document_plural + 'documents' => :label_document_plural, + 'timelog' => :label_spent_time }.freeze DEFAULT_LAYOUT = { 'left' => ['issuesassignedtome'], |