Commit 7cfc9d48 authored by Ivan Tyagov's avatar Ivan Tyagov

Generate table foot only if stats are indeed available.

Do not use ID but class.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38160 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc1cb7b8
......@@ -460,11 +460,10 @@
</tr>\n
</tbody>\n
\n
<tfoot>\n
<tfoot tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion">\n
<!-- Stats -->\n
<tr tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion" \n
id="listbox_stat_line" class="listbox_stat_line"\n
tal:attributes="id string:${field_id}_stat_line">\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
......
987
\ No newline at end of file
988
\ 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