summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cfa45c)
raw | patch | inline | side by side (parent: 6cfa45c)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Mar 2003 04:48:41 +0000 (04:48 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Mar 2003 04:48:41 +0000 (04:48 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1596 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
doc/customizing.txt | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index e199686fbd6b71fd22a338e84e689b77f5948db7..6e2f14ee4d9394abc2af82d0ccd1638930094b88 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- 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 940d4b8b42abe7e6ac0d1c7c9609cc7e43b6e0ba..e945998429467419242f0020b195d152607b6a54 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
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
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):