From: Raphaƫl Gertz <git@rapsys.eu> Date: Wed, 31 Jan 2024 22:18:54 +0000 (+0100) Subject: Remove useless classes X-Git-Tag: 0.3.0~134 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/930fbd80c4f8fc07b94b02c73e5720d3a07cf92d Remove useless classes Set link around id too --- 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 %}