From: richard Date: Mon, 17 Mar 2003 04:48:41 +0000 (+0000) Subject: added example HTML tempating for vacation flag (sf bug 701722) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c390c1f32f477f0a1834ce6a38446546766fb637;p=roundup.git added example HTML tempating for vacation flag (sf bug 701722) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1596 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index e199686..6e2f14e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -63,6 +63,7 @@ Fixed: - re-worked detectors initialisation - woohoo, no more cross-importing! - fixed export/import of retired nodes (sf bug 685273) - remember the display template specified during edit (sf bug 701815) +- added example HTML tempating for vacation flag (sf bug 701722) 2003-??-?? 0.5.7 diff --git a/doc/customizing.txt b/doc/customizing.txt index 940d4b8..e945998 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.77 $ +:Version: $Revision: 1.78 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -2452,7 +2452,15 @@ very useful, and relatively easy to stop. roles=String(), queries=Multilink("query"), vacation=Boolean()) -2. edit your detector ``nosyreactor.py`` so that the ``nosyreaction()`` +2. So that users may edit the vacation flags, add something like the + following to your ``user.item`` template:: + + + On Vacation + vacation + + +3. edit your detector ``nosyreactor.py`` so that the ``nosyreaction()`` consists of:: def nosyreaction(db, cl, nodeid, oldvalues):