From 930fbd80c4f8fc07b94b02c73e5720d3a07cf92d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu> Date: Wed, 31 Jan 2024 23:18:54 +0100 Subject: [PATCH] Remove useless classes Set link around id too --- Resources/views/default/_city.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/views/default/_city.html.twig b/Resources/views/default/_city.html.twig index e03c14c..f373590 100644 --- a/Resources/views/default/_city.html.twig +++ b/Resources/views/default/_city.html.twig @@ -1,6 +1,6 @@ {# Display cities #} {% if cities is defined and cities %} - <article class="city"> + <article> <header> <h2><a href="{{ path('rapsys_air_city') }}" title="{% trans %}Libre Air cities{% endtrans %}">{% trans %}Cities{% endtrans %}</a></h2> <p>{% trans %}Libre Air city list{% endtrans%} @@ -18,7 +18,7 @@ {% endif %} <div class="grid{% if cities|length > 1 %} two{% endif %}"> {% for id, city in cities %} - <article class="cell"> + <article> <header> <h3><a href="{{ city.link }}">{{ city.city }} ({{ city.id }})</a></h3> </header> @@ -34,7 +34,7 @@ {% if city.locations is defined and city.locations %} <ul> {% for id, location in city.locations %} - <li>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}">{{ location.title }}</a></li> + <li><a href="{{ location.link }}">{% if multimap is defined and multimap %}{{ id }} {% endif %}{{ location.title }}</a></li> {% endfor %} </ul> {% endif %} -- 2.41.3