13 | | * Instead of adding hours via the comment system, there is a separate |
14 | | view for hours: |
| 13 | * Instead of adding hours via the comment system, there is a separate view for hours: |
| 14 | - `/hours` is a management view. This view displays the hours for all tickets for the last week (by default) in a way that combines the query interface for querying tickets and the timeline display for hours on the tickets in the time period. |
| 15 | - query filters are available to find hours for people, hours for tickets of a certain component, etc; |
| 16 | - a view for `/hours/<ticket number>`; this displays the accrued hours for a particular ticket with a timeline-like view, but should also allow adding of new hours (by default, on "today", but this should be changeable via dropdown menus for day, month, year, etc), editing previously entered hours (amount, date, description) and deleting previously alloted hours |
| 17 | - the view at `/hours/<ticket number>` by default will only display the hours on the ticket. If you have the TICKET_ADD_HOURS permission, this view allows adding/editing of one's own hours on the ticket If you are a `TRAC_ADMIN`, you should be able to add/edit/delete others' hours as well |
24 | | - a view for `/hours/<ticket number>`; this displays the accrued hours |
25 | | for a particular ticket with a timeline-like view, but should also |
26 | | allow adding of new hours (by default, on "today", but this should |
27 | | be changeable via dropdown menus for day, month, year, etc), |
28 | | editing previously entered hours (amount, date, description) and |
29 | | deleting previously alloted hours |
30 | | |
31 | | - the view at `/hours/<ticket number>` by default will only display |
32 | | the hours on the ticket. If you have the TICKET_ADD_HOURS |
33 | | permission, this view allows adding/editing |
34 | | of one's own hours on the ticket If you are a |
35 | | TRAC_ADMIN, you should be able to add/edit/delete others' hours as well |
36 | | |
37 | | - the default query period is the last seven days |
38 | | |
39 | | * Hours are uniquely assigned to tickets and people (required fields) |
40 | | |
41 | | * hours may have a description, which should be displayed in the |
42 | | applicable views; if a description is provided, the hours and |
43 | | description are logged to ticket comments |
44 | | |
45 | | * `/ticket/<number>` has a link to `/hours/<number>` as the total |
46 | | hours field so that a user can add and view hours for the ticket |
| 23 | * `/ticket/<number>` has a link to `/hours/<number>` as the total hours field so that a user can add and view hours for the ticket |