From a2f8f7ae43d111cf284c0f1d1dc4a1d865a4c9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 14 Mar 2022 13:18:41 +0100 Subject: [PATCH] add badge on third party in residential address list --- .../Resources/views/ResidentialAddress/list.html.twig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/ResidentialAddress/list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/ResidentialAddress/list.html.twig index 64e5d3813..b568703da 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/ResidentialAddress/list.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/ResidentialAddress/list.html.twig @@ -67,7 +67,12 @@
  • {{ "Address of"|trans}} - {{ a.hostThirdParty|chill_entity_render_box }} + {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with { + action: 'show', displayBadge: true, + targetEntity: { name: 'thirdparty', id: a.hostThirdParty.id }, + buttonText: a.hostThirdParty|chill_entity_render_string, + isDead: false, + } %}
  • {% if a.hostThirdParty.address is not null %}