Feature #615

Add Timelog to "My Page"

Added by David Petersen over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-02-07
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Time tracking
Target version:0.7
Resolution:Fixed

Description

I have developed a new block for the "My Page" page that will list your time entries for "today". Very useful to make sure you have updated all the tickets with the time you have spent on them for the day.

I am uploading 4 files:

my_controller.rb.diff - patch file for my_controller.rb which adds the new widget to the drop down list
en.yml.diff - patch file which adds 2 new labels
_timelog.rhtml - new widget that goes in /app/views/my/blocks/_timelog.rhtml
_list_simple.rhtml - new layout for timelogs that goes in /app/view/timelog/_list_simple.rhtml

I am working on more features for time tracking which I will submit later.

my_controller.rb.diff Magnifier (556 Bytes) David Petersen, 2008-02-07 19:30

en.yml.diff Magnifier (364 Bytes) David Petersen, 2008-02-07 19:30

_timelog.rhtml Magnifier (411 Bytes) David Petersen, 2008-02-07 19:30

_list_simple.rhtml Magnifier (924 Bytes) David Petersen, 2008-02-07 19:30

_list_simple.rhtml Magnifier (1.12 KB) David Petersen, 2008-02-07 19:47

_list_simple.rhtml Magnifier (1.15 KB) David Petersen, 2008-02-07 19:49

my_timelog.png - Time tracking block screenshot (27.1 KB) Jean-Philippe Lang, 2008-03-16 13:25

Associated revisions

Revision 1260
Added by Jean-Philippe Lang over 9 years ago

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.

History

#1 Updated by David Petersen over 9 years ago

Update to _list_simple.html that adds a total at the bottom.

#2 Updated by David Petersen over 9 years ago

#3 Updated by Jean-Philippe Lang over 9 years ago

  • File my_timelog.png added
  • Status changed from New to Closed
  • Target version set to 0.7
  • % Done changed from 70 to 100
  • Resolution set to Fixed

I made a few changes to your patch so that it lists entries for the last 7 days with totals for each day:
http://rubyforge.org/forum/forum.php?thread_id=22812&forum_id=7504

Here is the result:

Time tracking block screenshot

Committed in r1260.

Also available in: Atom PDF