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 @@ ...@@ -460,11 +460,10 @@
</tr>\n </tr>\n
</tbody>\n </tbody>\n
\n \n
<tfoot>\n <tfoot tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion">\n
<!-- Stats -->\n <!-- Stats -->\n
<tr tal:condition="python:here.showStat() and not hide_rows_on_no_search_criterion" \n <tr class="listbox_stat_line"\n
id="listbox_stat_line" class="listbox_stat_line"\n tal:attributes="class string:${field_id}_stat_line">\n
tal:attributes="id string:${field_id}_stat_line">\n
<td tal:condition="is_report_tree_mode" >&nbsp;</td>\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-anchor-cell" tal:condition="show_anchor_column">&nbsp;</td>\n
<td class="listbox-table-select-cell" tal:condition="show_select_column">&nbsp;</td>\n <td class="listbox-table-select-cell" tal:condition="show_select_column">&nbsp;</td>\n
......
987 988
\ No newline at end of file \ 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