]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/session/index.html.twig
Remove application form
[airbundle] / Resources / views / session / index.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <article id="dashboard">
4 <h2><a href="{{ path('rapsys_air_session') }}">{{ section }}</a></h2>
5 <div class="panel">
6 {% if calendar is defined and calendar %}
7 <div class="grid calendar seven">
8 {% for date, day in calendar %}
9 <section class="{{ day.class|join(' ') }}">
10 <h3>{{ day.title }}</h3>
11 {% if day.sessions is not empty %}
12 <ul>
13 {% for session in day.sessions %}
14 <li class="{{ session.class|join(' ') }}">
15 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">
16 <span>{{ session.start|localizeddate('none', 'short') }}</span>
17 <span class="reducible">{{ session.location }}</span>
18 <span class="info">
19 {% if session.weather is defined and session.weather %}
20 <span title="{{ session.weathertitle }}">{{ session.weather }}</span>
21 {% endif %}
22 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
23 </span>
24 {% if session.pseudonym is defined and session.pseudonym %}
25 <span class="reducible pseudonym">{{ session.pseudonym }}</span>
26 {% endif %}
27 </a>
28 </li>
29 {% endfor %}
30 </ul>
31 {% endif %}
32 </section>
33 {% endfor %}
34 </div>
35 {% endif %}
36 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
37 </div>
38 </article>
39 {{ include('@RapsysAir/default/_location.html.twig') }}
40 {% endblock %}