add test to use configured body template when non empty
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
12007c6909
commit
0a58f767f9
|
@ -24,7 +24,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="content-wrap">
|
<td class="content-wrap">
|
||||||
{% if body is defined %}
|
{% if body is defined and body|length > 0 %}
|
||||||
<table width="100%" cellpadding="0" cellspacing="0">
|
<table width="100%" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ include(template_from_string(body), build) }}</td>
|
<td>{{ include(template_from_string(body), build) }}</td>
|
||||||
|
|
Loading…
Reference in a new issue