1 {% extends '@RapsysAir/body.html.twig' %}
 
   3         <section id="dashboard">
 
   4                 <h2><a href="{{ path('rapsys_air') }}">{{ section }}</a></h2>
 
   6                         {% if organizers is defined and organizers %}
 
   8                                         {% for group, users in organizers %}
 
  12                                                                 {% for id, organizer in users %}
 
  13                                                                         <li><a href="{{ path('rapsys_air_organizer_view', {'id': id}) }}">{{ organizer }}</a></li>
 
  18                                         {#{% for date, day in organizers %}
 
  19                                                 <section class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
 
  20                                                         <h3>{{ day.title }}</h3>
 
  21                                                         {% if day.sessions is not empty %}
 
  23                                                                         {% for session in day.sessions %}
 
  24                                                                                 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
 
  25                                                                                         <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
 
  27                                                                                                 {% if session.weather is defined and session.weather %}<span title="{{ session.weathertitle }}">{{ session.weather }}</span>{% endif %}
 
  28                                                                                                 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
 
  40                         {{ include('@RapsysAir/form/_toolbox.html.twig') }}
 
  43         {% if locations is defined and locations %}
 
  44                 <section id="location">
 
  45                         <h2>{% trans %}Locations{% endtrans %}</h2>
 
  46                         <div class="panel grid">
 
  47                                 {% for id, title in locations %}
 
  48                                         <section class="cell">
 
  49                                                 <h3><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ title }}</a></h3>