Commit a7908841 authored by Lingnan Wu's avatar Lingnan Wu

remove some feature for the listbox so that we can use the new generator to...

remove some feature for the listbox so that we can use the new generator to replace the old list for test.
parent b2dc1b1d
...@@ -49,9 +49,7 @@ ...@@ -49,9 +49,7 @@
\n \n
<tal:block metal:define-macro="listbox_line">\n <tal:block metal:define-macro="listbox_line">\n
\n \n
<tal:block tal:condition="python: listbox_line_structure[\'line\'] is not None"\n \n
tal:define="listboxline python: listbox_line_structure[\'line\']">\n
\n
<!-- title line itself is rendered in listbox_ods_macro --> \n <!-- title line itself is rendered in listbox_ods_macro --> \n
<tal:block tal:condition="not:listboxline/isTitleLine">\n <tal:block tal:condition="not:listboxline/isTitleLine">\n
<table:table-row>\n <table:table-row>\n
...@@ -105,21 +103,7 @@ ...@@ -105,21 +103,7 @@
</table:table-row>\n </table:table-row>\n
\n \n
</tal:block>\n </tal:block>\n
</tal:block>\n \n
<tal:block tal:condition="python: len(listbox_line_structure[\'line_list\'])">\n
<tal:block tal:condition="python: listbox_line_structure[\'line\'] is None">\n
<tal:block tal:repeat="listbox_line_structure python: listbox_line_structure[\'line_list\']">\n
<tal:block metal:use-macro="here/listbox_line_ods_macro/macros/listbox_line"/>\n
</tal:block>\n
</tal:block>\n
<tal:block tal:condition="python: listbox_line_structure[\'line\'] is not None">\n
<table:table-row-group>\n
<tal:block tal:repeat="listbox_line_structure python: listbox_line_structure[\'line_list\']">\n
<tal:block metal:use-macro="here/listbox_line_ods_macro/macros/listbox_line"/>\n
</tal:block>\n
</table:table-row-group>\n
</tal:block>\n
</tal:block>\n
</tal:block>\n </tal:block>\n
</office:spreadsheet>\n </office:spreadsheet>\n
</office:body>\n </office:body>\n
......
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