1 {% extends '@RapsysAir/body.html.twig' %}
 
   3         <article id="dashboard">
 
   5                         <h2><a href="{{ path('rapsys_air_user') }}">{{ section }}</a></h2>
 
   6                         <p>{{ description }}</p>
 
   9                         {% if groups is defined and groups %}
 
  10                                 <div class="grid three">
 
  11                                         {% for group, users in groups %}
 
  12                                                 <article class="cell">
 
  15                                                                 {% for id, user in users %}
 
  16                                                                         <li><a href="{{ path('rapsys_air_user_view', {'id': id}) }}">{{ user.pseudonym }}</a><a href="{{ path('rapsys_user_edit', {'mail': user.mail|short, 'hash': user.mail|short|hash}) }}">{% trans %}Edit{% endtrans %}</a></li>
 
  21                         {% elseif users is defined and users %}
 
  22                                 <div class="grid four">
 
  23                                         {% for id, user in users %}
 
  24                                                 <article class="cell">
 
  25                                                         <h3><a href="{{ path('rapsys_air_user_view', {'id': id}) }}">{{ user.pseudonym }}</a></h3>
 
  28                                         {#{% for date, day in organizers %}
 
  29                                                 <article class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
 
  30                                                         <h3>{{ day.title }}</h3>
 
  31                                                         {% if day.sessions is not empty %}
 
  33                                                                         {% for session in day.sessions %}
 
  34                                                                                 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
 
  35                                                                                         <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
 
  37                                                                                                 {% if session.weather is defined and session.weather %}<span title="{{ session.weathertitle }}">{{ session.weather }}</span>{% endif %}
 
  38                                                                                                 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
 
  50                         {{ include('@RapsysAir/form/_toolbox.html.twig') }}
 
  53         {{ include('@RapsysAir/default/_location.html.twig') }}