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 @@
</action>\n
\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
<spacer height="100" tal:condition="form/get_fields"/>\n
\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
......@@ -168,7 +168,8 @@
</tal:block>\n
\n
</content>\n
</document>
</document>\n
]]></string> </value>
</item>
......
33
\ No newline at end of file
34
\ 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