1 {% extends '@RapsysAir/body.html.twig' %}
3 <section id="dashboard">
4 <h2><a href="{{ path('rapsys_air_session') }}">{{ section }}</a></h2>
5 <div class="panel calendar">
6 {% if calendar is defined and calendar %}
8 {% for date, day in calendar %}
9 <section class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
10 <h3>{{ day.title }}</h3>
11 {% if day.sessions is not empty %}
13 {% for session in day.sessions %}
14 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
15 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
17 {% if session.weather is defined and session.weather %}<span title="{{ session.weathertitle }}">{{ session.weather }}</span>{% endif %}
18 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
30 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
32 {% if locations is defined and locations %}
33 <div class="panel location">
35 <h3>{% trans %}Locations{% endtrans %}</h3>
37 {% for id, title in locations %}
38 <section class="cell">
39 <h4><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ title }}</a></h4>