Added array empty condition to print

This commit is contained in:
David Taylor
2015-08-10 18:04:42 +03:00
committed by Tom Price
parent 48236680ca
commit 33958d0670

View File

@@ -9,6 +9,13 @@
{% for child in children %}
{{ child }}
{% empty %}
<blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable">
<tr>
<td></td>
<td><para>(No items recorded)</para></td>
</tr>
</blockTable>
{% endfor %}
{% endautoescape %}