[Erp5-report] r32900 yo - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemp...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 22 09:30:21 CET 2010


Author: yo
Date: Mon Feb 22 09:30:21 2010
New Revision: 32900

URL: http://svn.erp5.org?rev=32900&view=rev
Log:
2010-02-22 yo
* Stop form_render from relying on the type of editable_mode (i.e. int).

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    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/form_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml?rev=32900&r1=32899&r2=32900&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml [utf8] Mon Feb 22 09:30:21 2010
@@ -79,8 +79,7 @@
       <tal:block tal:repeat="group group_list">\n
         <tal:block tal:define="gid     group/gid;">\n
           <fieldset tal:condition="python: gid.find(\'hidden\') &lt; 0"\n
-                    tal:attributes="class python:gid + \n
-                             (\' editable\' * request.get(\'editable_mode\', 0) or \' viewable\');\n
+                    tal:attributes="class python:gid + test(request.get(\'editable_mode\', 0), \' editable\', \'viewable\');\n
                                     id    python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );">\n
             <legend i18n:translate="" i18n:domain="ui" tal:condition="group/gtitle" tal:content="group/gtitle" class="group_title"></legend>\n
             <tal:block tal:repeat="field python: form.get_fields_in_group(group[\'goid\'])">\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log?rev=32900&r1=32899&r2=32900&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log [utf8] Mon Feb 22 09:30:21 2010
@@ -1,3 +1,6 @@
+2010-02-22 yo
+* Stop form_render from relying on the type of editable_mode (i.e. int).
+
 2010-02-02 yo
 * Add classes into buttons defined in dialog_main.
 

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=32900&r1=32899&r2=32900&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] Mon Feb 22 09:30:21 2010
@@ -1,1 +1,1 @@
-902
+903




More information about the Erp5-report mailing list