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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 20 09:50:46 CEST 2009


Author: kazuhiko
Date: Tue Oct 20 09:50:44 2009
New Revision: 29828

URL: http://svn.erp5.org?rev=29828&view=rev
Log:
combine 'Columns' items and 'More Columns' items in ListBox configure dialog. now we don't need to include duplicate items in 'More Columns' that already exist in 'Columns'.
FYI, ListBoxRenderer.getAllColumnList() is already implemented like the above.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.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/configure_list_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml?rev=29828&r1=29827&r2=29828&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/configure_list_dialog.xml [utf8] Tue Oct 20 09:50:44 2009
@@ -59,7 +59,7 @@
                  global row_index python: 0;\n
                  global row_keys python: [\'None\'];\n
                  global stats python: [\' \',\'count\',\'sum\',\'max\',\'min\',\'avg\'];\n
-                 all_columns python: listbox.get_value(\'all_columns\')">\n
+                 all_columns python: default_columns + [x for x in listbox.get_value(\'all_columns\') if x not in default_columns]">\n
             <tal:block tal:repeat="item columns">\n
               <tr tal:define="global row_index python:row_index+1;\n
                   dummy python:row_keys.append(item[0])"\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=29828&r1=29827&r2=29828&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] Tue Oct 20 09:50:44 2009
@@ -1,1 +1,1 @@
-844
+845




More information about the Erp5-report mailing list