diff doc/customizing.txt @ 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 94ec56691f07
children 6bfb9c9de03c
line wrap: on
line diff
--- 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/