Skip to content

Commit ef69a5d

Browse files
author
Richard Jones
committed
added example HTML tempating for vacation flag [SF#701722]
1 parent 7b3be22 commit ef69a5d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Fixed:
6363
- re-worked detectors initialisation - woohoo, no more cross-importing!
6464
- fixed export/import of retired nodes (sf bug 685273)
6565
- remember the display template specified during edit (sf bug 701815)
66+
- added example HTML tempating for vacation flag (sf bug 701722)
6667

6768

6869
2003-??-?? 0.5.7

doc/customizing.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.77 $
5+
:Version: $Revision: 1.78 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -2452,7 +2452,15 @@ very useful, and relatively easy to stop.
24522452
roles=String(), queries=Multilink("query"),
24532453
vacation=Boolean())
24542454

2455-
2. edit your detector ``nosyreactor.py`` so that the ``nosyreaction()``
2455+
2. So that users may edit the vacation flags, add something like the
2456+
following to your ``user.item`` template::
2457+
2458+
<tr>
2459+
<th>On Vacation</th>
2460+
<td tal:content="structure context/vacation/field">vacation</td>
2461+
</tr>
2462+
2463+
3. edit your detector ``nosyreactor.py`` so that the ``nosyreaction()``
24562464
consists of::
24572465

24582466
def nosyreaction(db, cl, nodeid, oldvalues):

0 commit comments

Comments
 (0)