]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/default/_city.html.twig
Fix location user add/remove from inverse side
[airbundle] / Resources / views / default / _city.html.twig
index e03c14c6dab7b75543a8dce76a69889a5d30a2f7..f3735902d6ca1ff414c4c48f0627deddfc660883 100644 (file)
@@ -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 %}