From d9f5c451b61890059ff88bccc40509283c77cfc8 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 5 Jan 2026 15:18:34 +0100 Subject: [PATCH] Take into account chillBundlesVersion variable not being defined in stand-alone chill bundles project --- .../ChillMainBundle/Resources/views/Layout/_footer.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Layout/_footer.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Layout/_footer.html.twig index 22a95834b..518ea7e29 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Layout/_footer.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Layout/_footer.html.twig @@ -2,7 +2,9 @@

{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License'|trans|raw }}
- {{ 'footer.Running chill version %version%'|trans({ '%version%': chillBundlesVersion.getFormattedVersion() }) }} + {% if chillBundlesVersion is defined %} + {{ 'footer.Running chill version %version%'|trans({ '%version%': chillBundlesVersion.getFormattedVersion() }) }} + {% endif %}
{{ 'User manual'|trans }}