]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/location/cities.html.twig
Add Noto Emoji font
[airbundle] / Resources / views / location / cities.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <article id="dashboard" class="city">
4 <header>
5 <h2><a href="{{ canonical }}">{{ title }}</a></h2>
6 <p>{{ description }}</p>
7 </header>
8 <div class="panel">
9 {% if cities is defined and cities %}
10 <div class="grid{% if cities|length > 1%} two{% endif %}">
11 {% for id, city in cities %}
12 <article class="cell">
13 <header>
14 <h3><a href="{{ city.link }}">{{ city.city }} ({{ city.id }})</a></h3>
15 </header>
16 <div class="panel grid{% if cities|length > 1%} two{% else %} three{% endif %}">
17 {% if city.multimap is defined and city.multimap %}
18 <div class="multimap">
19 <a href="{{ city.multimap.link }}" title="{{ city.multimap.caption }}">
20 <figure>
21 <img src="{{ city.multimap.src }}" alt="{{ city.multimap.caption }}" width="{{ city.multimap.width }}" height="{{ city.multimap.height }}" />
22 <figcaption>{{ city.multimap.caption }}</figcaption>
23 </figure>
24 </a>
25 </div>
26 {% endif %}
27 {% for id, location in city.locations %}
28 <article class="cell">
29 <h4>{% if city.multimap is defined and city.multimap %}{{ id }} {% endif %}<a href="{{ location.link }}">{{ location.title }}</a></h4>
30 </article>
31 {% endfor %}
32 </div>
33 </article>
34 {% endfor %}
35 </div>
36 {% endif %}
37 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
38 </div>
39 </article>
40 {% endblock %}