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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 25 17:17:41 CEST 2009


Author: kazuhiko
Date: Fri Sep 25 17:17:39 2009
New Revision: 29184

URL: http://svn.erp5.org?rev=29184&view=rev
Log:
remove 'display "-" if cell is empty' logic, because it disables ImageField output completely.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.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_asTableStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml?rev=29184&r1=29183&r2=29184&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml [utf8] Fri Sep 25 17:17:39 2009
@@ -296,15 +296,12 @@
                                   original_value     python: value[1];\n
                                   error              python: value[2];\n
                                   editable_field     python: value[3];\n
-                                  editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\');\n
-                                  empty              python: original_value in (\'\', None) and not request.get(\'editable_mode\')"\n
-                      tal:attributes="class python: empty and \'emptyCell\' or nothing">\n
-                    <tal:block tal:condition="empty"><span tal:attributes="class editable_field_css">-</span></tal:block>\n
+                                  editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
                     <input tal:condition="not: repeat/value/index"\n
                            type="hidden" value="1" name="listbox_uid:list"\n
                            tal:attributes="value python: line.getUid() or \'\';\n
                                       name string:${field_id}_uid:list" />\n
-                    <tal:block tal:condition="not: empty" tal:replace="structure html">value</tal:block>\n
+                    <tal:block tal:replace="structure html">value</tal:block>\n
                   </td>\n
                 </tal:block>\n
               </tr>\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=29184&r1=29183&r2=29184&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] Fri Sep 25 17:17:39 2009
@@ -1,1 +1,1 @@
-834
+835




More information about the Erp5-report mailing list