[Zope-CVS] CVS: Products/EventListenerTool/www - eltRules.zpt:1.3
Chris McDonough
chrism@zope.com
Wed, 8 Jan 2003 14:37:11 -0500
Update of /cvs-repository/Products/EventListenerTool/www
In directory cvs.zope.org:/tmp/cvs-serv32763/www
Modified Files:
eltRules.zpt
Log Message:
Merge changes from Tres into public package.
=== Products/EventListenerTool/www/eltRules.zpt 1.2 => 1.3 ===
--- Products/EventListenerTool/www/eltRules.zpt:1.2 Tue Jan 7 15:24:57 2003
+++ Products/EventListenerTool/www/eltRules.zpt Wed Jan 8 14:37:08 2003
@@ -33,7 +33,7 @@
<th align="left" width="70%"> Event Interface Moniker </th>
</tr>
<tr style="background-color: #CCCCCC;">
- <td><br /></td>
+ <th> Enabled? </th>
<th align="left"> Actions </th>
<th align="left"> Condition Expression </th>
</tr>
@@ -42,8 +42,10 @@
<tal:group tal:define="rule python: here.getRule( rule_id )">
<tr>
<td width="5%" align="center">
- <a tal:attributes="href string:manage_deleteRule?rule_id=${rule_id}"
- >X</a>
+ <a title="Delete this rule"
+ style="font-size: x-small"
+ tal:attributes="href string:manage_deleteRule?rule_id=${rule_id}"
+ >X</a>
</td>
<td tal:content="rule_id"> RULE ID </td>
<td tal:define="moniker rule/getMoniker;
@@ -54,7 +56,14 @@
</td>
</tr>
<tr>
- <td><br /></td>
+ <td width="5%" align="center"
+ tal:define="enabled rule/isEnabled">
+ <a title="Toggle this rule"
+ style="font-size: x-small"
+ tal:attributes="href string:manage_toggleRule?rule_id=${rule_id}"
+ tal:content="python: enabled and 'Yes' or 'No'"
+ >STATUS</a>
+ </td>
<td tal:define="actions rule/listActions" >
<span tal:replace="structure
python: '<br />'.join( actions )">ACTIONS</span>