Commit 53caa618 authored by Jérome Perrin's avatar Jérome Perrin

Only put a spacer if the report contains fields.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14251 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 92de97c4
...@@ -74,8 +74,8 @@ ...@@ -74,8 +74,8 @@
</action>\n </action>\n
\n \n
<para tal:content="python: here.Localizer.erp5_ui.gettext(form.getProperty(\'title\', \'\')).encode(\'utf-8\')" style=\'Title\'> report title </para>\n <para tal:content="python: here.Localizer.erp5_ui.gettext(form.getProperty(\'title\', \'\')).encode(\'utf-8\')" style=\'Title\'> report title </para>\n
<spacer height="100"/>\n
\n \n
<spacer height="100" tal:condition="form/get_fields"/>\n
\n \n
<tal:block tal:repeat="group python: group_list[:3]">\n <tal:block tal:repeat="group python: group_list[:3]">\n
<tal:block tal:define="field_list python: form.get_fields_in_group(group)">\n <tal:block tal:define="field_list python: form.get_fields_in_group(group)">\n
...@@ -168,7 +168,8 @@ ...@@ -168,7 +168,8 @@
</tal:block>\n </tal:block>\n
\n \n
</content>\n </content>\n
</document> </document>\n
]]></string> </value> ]]></string> </value>
</item> </item>
......
33 34
\ 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