[Erp5-report] r23670 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 17 12:59:01 CEST 2008
Author: ivan
Date: Wed Sep 17 12:58:54 2008
New Revision: 23670
URL: http://svn.erp5.org?rev=23670&view=rev
Log:
Optimize rendering (calculate gadget related variables only if it's gadget_mode).
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=23670&r1=23669&r2=23670&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml Wed Sep 17 12:58:54 2008
@@ -61,10 +61,7 @@
show_select_column here/showSelectColumn;\n
\t show_anchor_column here/showAnchorColumn;\n
show_search_line here/showSearchLine;\n
- is_gadget_mode request/is_gadget_mode | nothing;\n
- box_relative_url python: request.get(\'box_relative_url\', \'\');\n
- box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];">\n
-\n
+ is_gadget_mode request/is_gadget_mode | nothing;">\n
<!-- ListBox starts here. -->\n
<input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n
<input type="hidden" name="list_selection_name" value="default"\n
@@ -72,7 +69,9 @@
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:block tal:condition="is_gadget_mode"\n
+ tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
+ global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];">\n
<input tal:condition="python:form_id" \n
type="hidden" name="gadget_form_id"\n
tal:attributes="value form_id" />\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=23670&r1=23669&r2=23670&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Sep 17 12:58:54 2008
@@ -1,1 +1,1 @@
-604
+607
More information about the Erp5-report
mailing list