[Erp5-report] r26902 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Sun May 10 00:07:10 CEST 2009


Author: kazuhiko
Date: Sun May 10 00:07:09 2009
New Revision: 26902

URL: http://svn.erp5.org?rev=26902&view=rev
Log:
reduce needless calculations.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml?rev=26902&r1=26901&r2=26902&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] Sun May 10 00:07:09 2009
@@ -70,14 +70,16 @@
                                        name string:${field_id}_list_selection_name" />\n
   <input tal:condition="md5_string" type="hidden" name="md5_object_uid_list" value="checksum" tal:attributes="value md5_string" />\n
   \n
-  <tal:block tal:condition="is_gadget_mode"\n
-             tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
-             global box python: real_context.restrictedTraverse(box_relative_url); \n
-             global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];\n
-             global dom_id python: request.get(\'dom_id\',None) or box_id;">\n
-    <input tal:condition="python:form_id" \n
-          type="hidden" name="gadget_form_id"\n
-          tal:attributes="value form_id" />\n
+  <tal:block tal:condition="is_gadget_mode">\n
+    <tal:block tal:condition="is_gadget_mode"\n
+               tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
+               global box python: real_context.restrictedTraverse(box_relative_url); \n
+               global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];\n
+               global dom_id python: request.get(\'dom_id\',None) or box_id;">\n
+      <input tal:condition="python:form_id" \n
+            type="hidden" name="gadget_form_id"\n
+            tal:attributes="value form_id" />\n
+    </tal:block>\n
   </tal:block>\n
 \n
   <tal:replace tal:content="nothing">\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=26902&r1=26901&r2=26902&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Sun May 10 00:07:09 2009
@@ -1,1 +1,1 @@
-750
+751




More information about the Erp5-report mailing list