[Erp5-report] r9649 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplate...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 4 17:46:00 CEST 2006


Author: kevin
Date: Mon Sep  4 17:45:57 2006
New Revision: 9649

URL: http://svn.erp5.org?rev=9649&view=rev
Log:
Don't render non-editable fields in span.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml?rev=9649&r1=9648&r2=9649&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml Mon Sep  4 17:45:57 2006
@@ -91,12 +91,7 @@
               <tal:block metal:use-macro="template/macros/field" />\n
             </tal:block>\n
           </label>\n
-          <div class="input"\n
-               tal:define="editable    python: field.get_value(\'editable\');\n
-                           html_field  python: html_tuple[1]">\n
-            <tal:block tal:condition="python:     editable" tal:content="structure python: html_field"/>\n
-            <span      tal:condition="python: not editable" tal:content="structure python: html_field"/>\n
-          </div>\n
+          <div class="input" tal:content="structure python: html_tuple[1]"/>\n
           <span tal:condition="python: field_errors.has_key(field.id)"\n
                 class="error"\n
                 tal:content="python: field_errors[field.id].error_text"\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=9649&r1=9648&r2=9649&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/change_log Mon Sep  4 17:45:57 2006
@@ -1,3 +1,6 @@
+2006-09-04 Kevin
+* Don't render non-editable fields in span.
+
 2006-09-01 Kevin
 * Fix hidden developper shortcuts.
 * Add support for title _and_ id on groups (see form_render and ERP5XhtmlStyle_getFormGroupTitleAndId comments for details).

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=9649&r1=9648&r2=9649&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Sep  4 17:45:57 2006
@@ -1,1 +1,1 @@
-159
+160

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version?rev=9649&r1=9648&r2=9649&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/version Mon Sep  4 17:45:57 2006
@@ -1,1 +1,1 @@
-1.2.23
+1.2.24




More information about the Erp5-report mailing list