Commit 464a9f1e authored by Jérome Perrin's avatar Jérome Perrin

Add a comment to explain why for_form_list and list_header slots are needed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19092 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c4df0bd
......@@ -70,6 +70,10 @@
max_section_depth python: max([x.getSectionDepth() for x in listboxline_list]) + int(is_report_tree_mode);\n
" i18n:domain="ui">\n
\n
<!-- Define a slot specific for form_list, because in list mode we want to use a \n
<table:table-header-rows> so that header is repeated on all pages, and we can\'t\n
do this in form_view, because only one table-header-rows is allowed in <table:table>.\n
-->\n
<tal:block metal:define-slot="for_form_list"\n
tal:condition="listboxline/isTitleLine">\n
<tal:block metal:define-slot="list_header">\n
......@@ -89,7 +93,6 @@
</table:table-row>\n
</tal:block>\n
</tal:block>\n
\n
\n
<tal:block metal:use-macro="here/listbox_line_ods_macro/macros/listbox_line"/>\n
\n
......
120
\ No newline at end of file
121
\ 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