]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/default/index.html.twig
Rename section to page.title
[airbundle] / Resources / views / default / index.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <article id="dashboard">
4 <header>
5 <h2><a href="{{ path('rapsys_air') }}">{{ page.title }}</a></h2>
6 <p>{{ page.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 <article class="{{ day.class|join(' ') }}">
13 <h3>{{ day.title }}</h3>
14 {% if day.sessions is not empty %}
15 <ul>
16 {% for session in day.sessions %}
17 <li class="{{ session.class|join(' ') }}">
18 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">
19 <span>{{ session.start|localizeddate('none', 'short') }}</span>
20 <span class="reducible">{{ session.location }}</span>
21 <span class="info">
22 {% if session.weather is defined and session.weather %}
23 <span title="{{ session.weathertitle }}">{{ session.weather }}</span>
24 {% endif %}
25 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
26 </span>
27 {% if session.pseudonym is defined and session.pseudonym %}
28 <span class="reducible pseudonym">{{ session.pseudonym }}</span>
29 {% endif %}
30 </a>
31 </li>
32 {% endfor %}
33 </ul>
34 {% endif %}
35 </article>
36 {% endfor %}
37 </div>
38 {% endif %}
39 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
40 </div>
41 </article>
42 {{ include('@RapsysAir/default/_location.html.twig') }}
43 {% endblock %}