[Erp5-report] r20509 - in /erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types: File/ I...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 14 19:07:47 CEST 2008


Author: jp
Date: Mon Apr 14 19:07:47 2008
New Revision: 20509

URL: http://svn.erp5.org?rev=20509&view=rev
Log:
Order setting of actions. New expressions for action display or not.

Modified:
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/File/web_view.xml
    erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Image/web_view.xml

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/File/web_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/File/web_view.xml?rev=20509&r1=20508&r2=20509&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/File/web_view.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/File/web_view.xml Mon Apr 14 19:07:47 2008
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -72,11 +69,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -91,18 +85,15 @@
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>object/isWebMode</string> </value>
+            <value> <string>python:object is not None and object.isWebMode() and object.hasData()</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Image/web_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Image/web_view.xml?rev=20509&r1=20508&r2=20509&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Image/web_view.xml (original)
+++ erp5/trunk/bt5/erp5_web/ActionTemplateItem/portal_types/Image/web_view.xml Mon Apr 14 19:07:47 2008
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.ActionInformation</string>
-          <string>ActionInformation</string>
-        </tuple>
-        <none/>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -56,7 +53,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
+            <value> <float>0.5</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
@@ -72,11 +69,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -91,18 +85,15 @@
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>object/isWebMode</string> </value>
+            <value> <string>python:object is not None and object.isWebMode() and object.hasData()</string> </value>
         </item>
       </dictionary>
     </pickle>




More information about the Erp5-report mailing list