Commit eebfbfd3 authored by Ivan Tyagov's avatar Ivan Tyagov

<tfoot> must appear before <tbody> within a table, so that a browser can...

<tfoot> must appear before <tbody> within a table, so that a browser can render the foot before receiving all the rows of data.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38173 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f84b9777
......@@ -381,6 +381,23 @@
</th>\n
</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
......@@ -459,22 +476,6 @@
</td>\n
</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
......
992
\ No newline at end of file
993
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment