From c390c1f32f477f0a1834ce6a38446546766fb637 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 17 Mar 2003 04:48:41 +0000 Subject: [PATCH] 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 --- CHANGES.txt | 1 + doc/customizing.txt | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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): -- 2.30.2