1 {% extends '@RapsysAir/body.html.twig' %}
3 <section id="dashboard">
4 <h2><a href="{{ path('rapsys_air') }}">{{ section }}</a></h2>
5 <section class="panel">
6 {% if calendar is defined and calendar %}
10 {% for date, day in calendar %}
11 <td class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
12 <h3>{{ day.title }}</h3>
13 {% if day.sessions is not empty %}
15 {% for session in day.sessions %}
16 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
17 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
23 {% if loop.index % 7 == 0 and not loop.last %}
32 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
34 <section class="panel">
35 {% if locations is defined and locations %}
39 {% for id, title in locations %}
40 <td class="cell third"><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ title }}</a></td>
41 {% if loop.index % 7 == 0 and not loop.last %}