[CMF-checkins] CVS: Products/CMFCore/dtml -
editToolsActions.dtml:1.2.82.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Jul 18 17:55:48 EDT 2004
Update of /cvs-repository/Products/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv15484/CMFCore/dtml
Modified Files:
Tag: yuppie-actions-cleanup-branch
editToolsActions.dtml
Log Message:
- added 'getMapping' method to replace some redundant code
- Action 'title' is an alias of 'name'
- Action 'visible' is a boolean
- some related cleanup
=== Products/CMFCore/dtml/editToolsActions.dtml 1.2 => 1.2.82.1 ===
--- Products/CMFCore/dtml/editToolsActions.dtml:1.2 Fri Jan 4 14:50:04 2002
+++ Products/CMFCore/dtml/editToolsActions.dtml Sun Jul 18 17:55:18 2004
@@ -28,12 +28,12 @@
</td>
<td>
<div class="form-label">
- Name
+ Title
</div>
</td>
<td>
<div class="form-element">
- <input type="text" name="name_&dtml-index;" value="&dtml-name;" />
+ <input type="text" name="name_&dtml-index;" value="&dtml-title;" />
</div>
</td>
</tr>
@@ -56,7 +56,7 @@
<td></td>
<td>
<div class="form-label">
- Action
+ URL (Expression)
</div>
</td>
<td>
@@ -70,7 +70,7 @@
<td></td>
<td>
<div class="form-label">
- Condition
+ Condition (Expression)
</div>
</td>
<td>
@@ -90,11 +90,11 @@
<td>
<div class="form-element">
<select name="permission_&dtml-index;">
- <dtml-let selected="(not permission) and 'selected' or ' '">
+ <dtml-let selected="(not permissions) and 'selected' or ' '">
<option value="" &dtml-selected;>(none)</option>
</dtml-let>
<dtml-in possible_permissions sort>
- <dtml-let selected="(permission == _['sequence-item'])
+ <dtml-let selected="(permissions and permissions[0] == _['sequence-item'])
and 'selected' or ' '">
<option value="&dtml-sequence-item;" &dtml-selected;>&dtml-sequence-item;</option>
</dtml-let>
@@ -168,7 +168,7 @@
<td></td>
<td>
<div class="form-label">
- Name
+ Title
</div>
</td>
<td>
@@ -196,7 +196,7 @@
<td></td>
<td>
<div class="form-label">
- Action
+ URL (Expression)
</div>
</td>
<td>
@@ -209,7 +209,7 @@
<td></td>
<td>
<div class="form-label">
- Condition
+ Condition (Expression)
</div>
</td>
<td>
More information about the CMF-checkins
mailing list