[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - folder_contents.pt:1.9
Florent Guillaume
fg@nuxeo.com
Wed, 30 Apr 2003 11:55:14 -0400
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv25273
Modified Files:
folder_contents.pt
Log Message:
Simplify code.
=== CMF/CMFDefault/skins/zpt_generic/folder_contents.pt 1.8 => 1.9 ===
--- CMF/CMFDefault/skins/zpt_generic/folder_contents.pt:1.8 Mon Apr 14 10:24:03 2003
+++ CMF/CMFDefault/skins/zpt_generic/folder_contents.pt Wed Apr 30 11:55:13 2003
@@ -179,8 +179,8 @@
<tr>
<td align="left" valign="top" width="16"></td>
<td align="left" valign="top">
- <span tal:condition="python: test(checkPerm('Add portal content', here)
- and here.allowedContentTypes(), 1, 0)">
+ <span tal:condition="python: checkPerm('Add portal content', here)
+ and here.allowedContentTypes()">
<input type="submit" name="folder_factories:method" value="New..."
i18n:attributes="value" />
</span>