+ <article class="session{% if session.locked is defined and session.locked %} locked{% elseif session.application.canceled is defined and session.application.canceled %} canceled{% endif %}">
+ <header>
+ <h2>{{ description }}</h2>
+ </header>
+ <div class="panel">
+ <div class="grid three">
+ <section class="cell">
+ <header>
+ <h3>{% trans %}Program{% endtrans %}</h3>
+ </header>
+ <dl>
+ <dt>{% trans %}Date and schedule{% endtrans %}</dt>
+ <dd>{{ 'The %date% around %start% until %stop%'|trans({'%date%': session.start|intldate('long', 'none'), '%start%': session.start|intldate('none', 'medium'), '%stop%': session.stop|intldate('none', 'medium')}) }}</dd>
+ </dl>
+ {% if session.application is defined and session.application %}
+ {% if session.application.dance is defined and session.application.dance %}
+ {% if session.snippet.rate is defined and session.snippet.rate %}
+ {% if session.snippet.hat is defined and session.snippet.hat %}
+ <dl>
+ <dt>{% trans %}Contribution to costs{% endtrans %}</dt>
+ <dd>{% if session.snippet.rate == 0 %}{% trans %}To the hat, to cover: talc, electricity, bicycle, website, ...{% endtrans %}{% else %}{{ 'To the hat, ideally %rate% €, to cover: talc, electricity, bicycle, website, ...'|trans({'%rate%': session.snippet.rate}) }}{% endif %}</dd>
+ </dl>
+ {% else %}
+ <dl>
+ <dt>{% trans %}Contribution{% endtrans %}</dt>
+ <dd>{% if session.snippet.rate == 0 %}{% trans %}Free{% endtrans %}{% else %}{{ session.snippet.rate }} €{% endif %}</dd>
+ </dl>
+ {% endif %}
+ {% endif %}
+ {% endif %}
{% endif %}
- </div>
- </section>
+ {% if session.locked is defined and session.locked %}
+ <dd>{% if session.location.indoor is defined and session.location.indoor%}{% trans %}Indoor{% endtrans %}{% else %}{% trans %}Outdoor{% endtrans %}{% endif %}</dd>