From 2c41869f7799d2d116a4062a3cabbfcf69dfa149 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 31 Jan 2024 23:20:17 +0100 Subject: [PATCH] Set link around id too Use locations_link and locations_title instead of translation and path --- Resources/views/default/_location.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/views/default/_location.html.twig b/Resources/views/default/_location.html.twig index 4f1be81..beca449 100644 --- a/Resources/views/default/_location.html.twig +++ b/Resources/views/default/_location.html.twig @@ -2,7 +2,7 @@ {% if locations is defined and locations %}
-

{% trans %}Locations{% endtrans %}

+

{{ locations_title }}

{% if locations_description is defined %}

{{ locations_description }}

{% elseif forms.snippets is defined %} @@ -28,7 +28,7 @@
{# TODO XXX virer le if l.link id defined when user view is fixed !!! #} -

{% if multimap is defined and multimap %}{{ i }} {% endif %}{{ l.title }}

+

{% if multimap is defined and multimap %}{{ i }} {% endif %}{{ l.title }}

{% if forms.snippets[i] is defined and forms.snippets[i] %} {{ form_start(forms.snippets[i]) }} @@ -111,7 +111,7 @@ {% endif %} -- 2.41.1