[Erp5-report] r38173 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 7 14:14:42 CEST 2010


Author: ivan
Date: Tue Sep  7 14:14:39 2010
New Revision: 38173

URL: http://svn.erp5.org?rev=38173&view=rev
Log:
<tfoot> must appear before <tbody> within a table, so that a browser can render the foot before receiving all the rows of data.

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=38173&r1=38172&r2=38173&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] Tue Sep  7 14:14:39 2010
@@ -382,6 +382,23 @@
           </tr>\n
         </thead>\n
 \n
+        <!-- Stats -->\n
+        <tfoot tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion">\n
+            \n
+          <tr class="listbox_stat_line"\n
+              tal:attributes="class string:${field_id}_stat_line">\n
+            <td tal:condition="is_report_tree_mode" >&nbsp;</td>\n
+            <td class="listbox-table-anchor-cell" tal:condition="show_anchor_column">&nbsp;</td>\n
+            <td class="listbox-table-select-cell" tal:condition="show_select_column">&nbsp;</td>\n
+            <tal:block tal:repeat="value here/getStatValueList">\n
+            <td align="left"\n
+               tal:define="original_value python: value[0]; processed_value python: value[1]"\n
+               tal:attributes="align python: isinstance(original_value, (float, int, long)) and \'right\' or \'left\'"\n
+               tal:content="structure processed_value" />\n
+            </tal:block>\n
+          </tr>\n
+        </tfoot>\n
+\n
         <tbody>\n
 \n
           <!-- Render listbox data-->\n
@@ -460,22 +477,6 @@
             </tr>\n
           </tbody>\n
 \n
-          <tfoot tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion">\n
-            <!-- Stats -->\n
-            <tr class="listbox_stat_line"\n
-                tal:attributes="class string:${field_id}_stat_line">\n
-              <td tal:condition="is_report_tree_mode" >&nbsp;</td>\n
-              <td class="listbox-table-anchor-cell" tal:condition="show_anchor_column">&nbsp;</td>\n
-              <td class="listbox-table-select-cell" tal:condition="show_select_column">&nbsp;</td>\n
-              <tal:block tal:repeat="value here/getStatValueList">\n
-                <td align="left"\n
-                  tal:define="original_value python: value[0]; processed_value python: value[1]"\n
-                  tal:attributes="align python: isinstance(original_value, (float, int, long)) and \'right\' or \'left\'"\n
-                  tal:content="structure processed_value" />\n
-              </tal:block>\n
-            </tr>\n
-          </tfoot>\n
-\n
       </table>\n
     </div>\n
 \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=38173&r1=38172&r2=38173&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 Sep  7 14:14:39 2010
@@ -1 +1 @@
-992
\ No newline at end of file
+993
\ No newline at end of file




More information about the Erp5-report mailing list