Project

General

Profile

Actions

Feature #615

closed

Add Timelog to "My Page"

Added by David Petersen almost 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
Start date:
2008-02-07
Due date:
% Done:

100%

Estimated time:
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.


Files

my_controller.rb.diff (556 Bytes) my_controller.rb.diff David Petersen, 2008-02-07 19:30
en.yml.diff (364 Bytes) en.yml.diff David Petersen, 2008-02-07 19:30
_timelog.rhtml (411 Bytes) _timelog.rhtml David Petersen, 2008-02-07 19:30
_list_simple.rhtml (924 Bytes) _list_simple.rhtml David Petersen, 2008-02-07 19:30
_list_simple.rhtml (1.12 KB) _list_simple.rhtml David Petersen, 2008-02-07 19:47
_list_simple.rhtml (1.15 KB) _list_simple.rhtml David Petersen, 2008-02-07 19:49
my_timelog.png (27.1 KB) my_timelog.png Time tracking block screenshot Jean-Philippe Lang, 2008-03-16 13:25
Actions #1

Updated by David Petersen almost 17 years ago

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

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

  • File my_timelog.png 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.

Actions

Also available in: Atom PDF