[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/dtml/editToolsActions.dtml Deprecation message will not be shown on for type specific actions - check for listTypeInfo added.
Charlie Clark
charlie at begeistert.org
Wed Apr 14 08:43:27 EDT 2010
Log message for revision 110871:
Deprecation message will not be shown on for type specific actions - check for listTypeInfo added.
Changed:
U Products.CMFCore/trunk/Products/CMFCore/dtml/editToolsActions.dtml
-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/dtml/editToolsActions.dtml
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/dtml/editToolsActions.dtml 2010-04-14 12:38:58 UTC (rev 110870)
+++ Products.CMFCore/trunk/Products/CMFCore/dtml/editToolsActions.dtml 2010-04-14 12:43:26 UTC (rev 110871)
@@ -13,6 +13,8 @@
</dtml-let>
<dtml-var manage_tabs>
+<dtml-if "not _.hasattr(this(), 'listTypeInfo')">
+
<p>
<span style="{Color:red}" class="form-label">DEPRECATION WARNING</span><br/>
<span class="form-help">
@@ -22,6 +24,7 @@
shown for tools provided by the CMF.
</span>
</p>
+</dtml-if>
<form action="&dtml-absolute_url;" method="POST">
More information about the checkins
mailing list