Feature #615
Add Timelog to "My Page"
| Status: | Closed | Start: | 2008-02-07 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % 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.
Associated revisions
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
2008-02-07 19:47 - David Petersen
- File _list_simple.rhtml added
Update to _list_simple.html that adds a total at the bottom.
2008-02-07 19:49 - David Petersen
- File _list_simple.rhtml added
2008-03-16 13:25 - Jean-Philippe Lang
- 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:
Committed in r1260.