]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/admin/session.html.twig
Prevent site.icon and site.logo arrays to be flattened
[airbundle] / Resources / views / admin / session.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <section id="dashboard">
4 <h2>{{ section }}</h2>
5 <div class="panel">
6 <div class="grid">
7 <dl class="cell">
8 <dt><h3>{% trans %}Location{% endtrans %}</h3></dt>
9 <dd>{{ session.location.getTitle() }}</dd>
10 </dl>
11 <dl class="cell">
12 <dt><h3>{% trans %}Date{% endtrans %}</h3></dt>
13 <dd>{{ session.date.format('Y-m-d') }}</dd>
14 </dl>
15 <dl class="cell">
16 <dt><h3>{% trans %}Slot{% endtrans %}</h3></dt>
17 <dd>{{ session.slot.getTitle() }}</dd>
18 </dl>
19 <dl class="cell">
20 <dt><h3>{% trans %}Application{% endtrans %}</h3></dt>
21 {% if session.application is null %}
22 <dd>{% trans %}None{% endtrans %}</dd>
23 {% else %}
24 <dd>{{ session.application.getTitle() }}</dd>
25 {% endif %}
26 </dl>
27 </div>
28 </div>
29 {{ dump(session) }}
30 </section>
31 {% endblock %}