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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 29 12:54:40 CEST 2009


Author: kazuhiko
Date: Wed Apr 29 12:54:39 2009
New Revision: 26702

URL: http://svn.erp5.org?rev=26702&view=rev
Log:
* list_style parameter is not stored in selection.
* use normal style ListBox for non-web 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=26702&r1=26701&r2=26702&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] Wed Apr 29 12:54:39 2009
@@ -59,7 +59,7 @@
               show_select_column here/showSelectColumn;\n
               show_anchor_column here/showAnchorColumn;\n
               show_search_line here/showSearchLine;\n
-              list_style    python: request.get(\'list_style\') or selection.params.get(\'list_style\', \'table\');\n
+              list_style resuest/list_style | nothing;\n
               is_web_mode request/is_web_mode | nothing;\n
               is_gadget_mode request/is_gadget_mode | nothing;">\n
   <!-- ListBox starts here.  -->\n
@@ -142,13 +142,10 @@
   <tal:block tal:condition="python: list_style == \'search\'">\n
     <span metal:use-macro="real_context/ListBox_asSearchStyleHTML/macros/main"/>\n
   </tal:block>\n
-  <tal:block tal:condition="python: is_web_mode or is_gadget_mode">\n
-    <tal:block tal:condition="python: list_style == \'table\'">\n
-      <span metal:use-macro="real_context/ListBox_asTableStyleHTML/macros/main"/>\n
-    </tal:block>\n
+  <tal:block tal:condition="python: is_web_mode and list_style != \'table\'">\n
+    <span metal:use-macro="real_context/ListBox_asTableStyleHTML/macros/main"/>\n
   </tal:block>\n
-  <tal:block tal:condition="python: not is_web_mode and not is_gadget_mode and\n
-  not list_style == \'search\'">\n
+  <tal:block tal:condition="python: not is_web_mode and list_style != \'search\'">\n
     <span metal:use-macro="real_context/ListBox_asStandardHTML/macros/main"/>\n
   </tal:block>\n
 </tal:block>\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=26702&r1=26701&r2=26702&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] Wed Apr 29 12:54:39 2009
@@ -1,1 +1,1 @@
-721
+722




More information about the Erp5-report mailing list