]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/location/view.html.twig
Update translations
[airbundle] / Resources / views / location / view.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="dashboard">
4 <h2><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ section }}</a></h2>
5 <div class="panel calendar">
6 {% if calendar is defined and calendar %}
7 <div class="grid">
8 {% for date, day in calendar %}
9 <section class="{{ ['cell', 'seventh']|merge(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']|merge(session.class)|join(' ') }}">
15 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
16 </li>
17 {% endfor %}
18 </ul>
19 {% else %}
20 &nbsp;
21 {% endif %}
22 </section>
23 {% endfor %}
24 </div>
25 {% endif %}
26 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
27 </div>
28 {% if locations is defined and locations %}
29 <div class="panel location">
30 <div class="grid">
31 {% for id, title in locations %}
32 <section class="cell">
33 <h3><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ title }}</a></h3>
34 </section>
35 {% endfor %}
36 </div>
37 </div>
38 {% endif %}
39 </section>
40 {% endblock %}