Commit 566ae7a1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

render tbody only when its content is not empty otherwise it is not a valid XHTML.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae28287e
......@@ -203,7 +203,7 @@
</tr>\n
</tfoot>\n
\n
<tbody>\n
<tbody tal:condition="line_list">\n
<tr tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n
<tal:block tal:repeat="value line/render">\n
<td tal:define="html python: value[0];\n
......
770
\ No newline at end of file
771
\ No newline at end of file
......@@ -406,7 +406,7 @@
</tr>\n
</tfoot>\n
\n
<tbody>\n
<tbody tal:condition="line_list">\n
<tr tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n
<td tal:condition="python: show_select_column and not is_gadget_mode"\n
class="DataA" style="width: 50px; text-align: center; vertical-align: middle"\n
......
684
\ No newline at end of file
685
\ 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