]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/session/index.html.twig
Add missing translation
[airbundle] / Resources / views / session / index.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <article>
4 <header>
5 <h2>{{ title.page }}</h2>
6 <p>{{ description }}</p>
7 </header>
8 <div class="panel">
9 {% if calendar is defined and calendar %}
10 <div class="grid calendar seven">
11 {% for date, day in calendar %}
12 <section class="{{ day.class|join(' ') }}">
13 <header>
14 <h3>{{ day.title }}</h3>
15 </header>
16 {% if day.sessions is not empty %}
17 <ul>
18 {% for session in day.sessions %}
19 <li class="{{ session.class|join(' ') }}">
20 <a href="{{ session.link }}" title="{{ session.title }}">
21 <span>{{ session.start|intldate('none', 'short') }}</span>
22 <span class="reducible">{{ session.location.title }}</span>
23 <span class="temperature"{% if session.temperature.title is defined and session.temperature.title %} title="{{ session.temperature.title }}"{% endif %}><span class="glyph">{{ session.temperature.glyph }}</span></span>
24 <span>{{ session.stop|intldate('none', 'short') }}</span>
25 <span class="reducible">{% if session.application.user.title is defined and session.application.user.title %}{{ session.application.user.title }}{% endif %}</span>
26 <span class="rain"{% if session.rain.title is defined and session.rain.title %} title="{{ session.rain.title }}"{% endif %}><span class="glyph">{{ session.rain.glyph }}</span></span>
27 {% if session.rate is defined and session.rate %}
28 <span class="rate" title="{{ session.rate.title }}">{% if session.rate.rate is defined and session.rate.rate %}{{ session.rate.rate }} {% endif %}<span class="glyph">{{ session.rate.glyph }}</span></span>
29 {% else %}
30 <span></span>
31 {% endif %}
32 <span class="reducible">{{ session.location.zipcode }} {{ session.location.city }}</span>
33 <span></span>
34 </a>
35 </li>
36 {% endfor %}
37 </ul>
38 {% endif %}
39 </section>
40 {% endfor %}
41 </div>
42 {% endif %}
43 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
44 </div>
45 </article>
46 {{ include('@RapsysAir/default/_location.html.twig') }}
47 {% endblock %}