1 {% extends '@RapsysAir/body.html.twig' %}
 
   5                         <h2>{{ description }}</h2>
 
   8                         {% if calendar is defined and calendar %}
 
   9                                 <div class="grid calendar seven">
 
  10                                         {% for date, day in calendar %}
 
  11                                                 <section class="{{ 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.class|join(' ') }}">
 
  17                                                                                         <a href="{{ session.link }}" title="{{ session.title }}">
 
  18                                                                                                 <span>{{ session.start|intldate('none', 'short') }}</span>
 
  19                                                                                                 <span class="reducible">{{ session.location.title }}</span>
 
  20                                                                                                 <span class="temperature"{% if session.temperature.title is defined and session.temperature.title %} title="{{ session.temperature.title }}"{% endif %}><span class="glyph">{{ session.temperature.glyph }}</span></span>
 
  21                                                                                                 <span>{{ session.stop|intldate('none', 'short') }}</span>
 
  22                                                                                                 <span class="reducible">{% if session.application.user.title is defined and session.application.user.title %}{{ session.application.user.title }}{% endif %}</span>
 
  23                                                                                                 <span class="rain"{% if session.rain.title is defined and session.rain.title %} title="{{ session.rain.title }}"{% endif %}><span class="glyph">{{ session.rain.glyph }}</span></span>
 
  24                                                                                                 {% if session.rate is defined and session.rate %}
 
  25                                                                                                         <span class="rate" title="{{ session.rate.title }}">{% if session.rate.rate is defined and session.rate.rate %}{{ session.rate.rate }} {% endif %}<span class="glyph">{{ session.rate.glyph }}</span></span>
 
  29                                                                                                 <span class="reducible">{{ session.location.zipcode }} {{ session.location.city }}</span>
 
  40                         {{ include('@RapsysAir/form/_toolbox.html.twig') }}
 
  43         {{ include('@RapsysAir/default/_location.html.twig') }}