add test to use configured body template when non empty
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2024-01-15 13:40:45 +01:00
parent 12007c6909
commit 0a58f767f9
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -24,7 +24,7 @@
</tr>
<tr>
<td class="content-wrap">
{% if body is defined %}
{% if body is defined and body|length > 0 %}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>{{ include(template_from_string(body), build) }}</td>