From 0a58f767f9d35f8769635c087b2249747464f690 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 15 Jan 2024 13:40:45 +0100 Subject: [PATCH] add test to use configured body template when non empty --- templates/build_status.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/build_status.html.twig b/templates/build_status.html.twig index 3c272cb..ab18318 100644 --- a/templates/build_status.html.twig +++ b/templates/build_status.html.twig @@ -24,7 +24,7 @@ - {% if body is defined %} + {% if body is defined and body|length > 0 %}
{{ include(template_from_string(body), build) }}