]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/location/index.html.twig
Append dances and subscriptions to findAllIndexed results
[airbundle] / Resources / views / location / index.html.twig
index 3ad7613b49b870c6b0dbf6616e19c3a177a1037e..0b850155f73b9aedf12eb15f53723518a9813f32 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article id="dashboard" class="location">
                <header>
 {% block content %}
        <article id="dashboard" class="location">
                <header>
@@ -55,7 +55,7 @@
                                                {% endfor %}
                                        </div>
                                {% else %}
                                                {% endfor %}
                                        </div>
                                {% else %}
-                                       <ul class="grid{% if locations|length > 2%} three{% elseif locations|length > 1%} two{% endif %}">
+                                       <ul class="grid{% if locations|length > 1%} two{% endif %}">
                                                {% for id, location in locations %}
                                                        <li>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}" title="{{ location.title }}">{{ location.title }}</a></li>
                                                {% endfor %}
                                                {% for id, location in locations %}
                                                        <li>{% if multimap is defined and multimap %}{{ id }} {% endif %}<a href="{{ location.link }}" title="{{ location.title }}">{{ location.title }}</a></li>
                                                {% endfor %}