From: Raphaƫl Gertz Date: Wed, 31 Jan 2024 22:20:17 +0000 (+0100) Subject: Set link around id too X-Git-Tag: 0.3.0~133 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/2c41869f7799d2d116a4062a3cabbfcf69dfa149 Set link around id too Use locations_link and locations_title instead of translation and path --- 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 %}