From 62d59e6037a76fbf15519f1ac94607094b90e321 Mon Sep 17 00:00:00 2001
From: nobohan
Date: Fri, 29 Apr 2022 20:00:11 +0200
Subject: [PATCH] address: show address extra info even if noAddress
---
.../Resources/views/Entity/address.html.twig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig
index 3dfc27d2f..eef84b8a2 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig
@@ -29,6 +29,11 @@
{{ address.postCode.country.name|localize_translatable_string }}
{% endif %}
+ {% if address.extra is not empty %}
+
+ {{ address.extra }}
+
+ {% endif %}
{{ 'address.consider homeless'|trans }}
@@ -89,6 +94,11 @@
{{ address.postCode.country.name|localize_translatable_string }}
{% endif %}
+ {% if address.extra is not empty %}
+
+ {{ address.extra }}
+
+ {% endif %}
{{ 'address.consider homeless'|trans }}