changeset 1522:d20680d611a6

added example HTML tempating for vacation flag [SF#701722]
author Richard Jones <richard@users.sourceforge.net>
date Mon, 17 Mar 2003 04:48:41 +0000
parents 709bb731e96e
children 63aa7be52d2c
files CHANGES.txt doc/customizing.txt
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Mon Mar 17 04:46:20 2003 +0000
+++ b/CHANGES.txt	Mon Mar 17 04:48:41 2003 +0000
@@ -63,6 +63,7 @@
 - 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
--- a/doc/customizing.txt	Mon Mar 17 04:46:20 2003 +0000
+++ b/doc/customizing.txt	Mon Mar 17 04:48:41 2003 +0000
@@ -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 @@
                     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::
+
+     <tr>
+      <th>On Vacation</th> 
+      <td tal:content="structure context/vacation/field">vacation</td> 
+     </tr> 
+
+3. edit your detector ``nosyreactor.py`` so that the ``nosyreaction()``
    consists of::
 
     def nosyreaction(db, cl, nodeid, oldvalues):

Roundup Issue Tracker: http://roundup-tracker.org/