Mercurial > p > roundup > code
changeset 1980:8a6077ec701b
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Jan 2004 00:05:07 +0000 |
| parents | a94a1d5ba841 |
| children | ce6806a2a72d |
| files | doc/customizing.txt doc/index.txt roundup/__init__.py |
| diffstat | 3 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/customizing.txt Tue Jan 20 00:04:44 2004 +0000 +++ b/doc/customizing.txt Tue Jan 20 00:05:07 2004 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.108 $ +:Version: $Revision: 1.109 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -3011,15 +3011,14 @@ ''' Call me with a list of timelog items (which have an Interval "period" property) ''' - total = Interval('') + total = Interval('0d') for time in times: total += time.period._value return total - Replace the ``pass`` line as we did in step 4 above with the Client + Replace the ``pass`` line if one appears in your TemplatingUtils class. As indicated in the docstrings, we will be able to access the - ``totalTimeSpent`` method via the ``utils`` variable in our - templates. + ``totalTimeSpent`` method via the ``utils`` variable in our templates. 5. Display the time log for an issue::
--- a/doc/index.txt Tue Jan 20 00:04:44 2004 +0000 +++ b/doc/index.txt Tue Jan 20 00:05:07 2004 +0000 @@ -58,6 +58,7 @@ Titus Brown, Godefroid Chapelle, Roch'e Compaan, +Kelley Dagley, Paul F. Dubois, Jeff Epler, Tom Epperly, @@ -73,6 +74,7 @@ James Kew, Sheila King, Bastian Kleineidam, +Axel Kollmorgen, Detlef Lannert, Andrey Lebedev, Henrik Levkowetz,
--- a/roundup/__init__.py Tue Jan 20 00:04:44 2004 +0000 +++ b/roundup/__init__.py Tue Jan 20 00:05:07 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: __init__.py,v 1.25 2003-08-18 00:21:58 richard Exp $ +# $Id: __init__.py,v 1.26 2004-01-20 00:05:07 richard Exp $ ''' Roundup - issue tracking for knowledge workers. @@ -67,6 +67,6 @@ much prettier cake :) ''' -__version__ = '0.6.0' +__version__ = '0.7.0b1' # vim: set filetype=python ts=4 sw=4 et si
