]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/user/index.html.twig
Add og: and fb: prefixes
[airbundle] / Resources / views / user / index.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <article id="dashboard">
4 <header>
5 <h2><a href="{{ path('rapsys_air_user') }}">{{ section }}</a></h2>
6 <p>{{ description }}</p>
7 </header>
8 <div class="panel">
9 {% if users is defined and users %}
10 <div class="grid two">
11 {% for group, list in users %}
12 <article class="cell">
13 <h3>{{ group }}</h3>
14 <ul>
15 {% for id, user in list %}
16 <li><a href="{{ path('rapsys_air_user_view', {'id': id}) }}">{{ user }}</a></li>
17 {% endfor %}
18 </ul>
19 </article>
20 {% endfor %}
21 {#{% for date, day in organizers %}
22 <article class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
23 <h3>{{ day.title }}</h3>
24 {% if day.sessions is not empty %}
25 <ul>
26 {% for session in day.sessions %}
27 <li class="{{ ['session']|merge(session.class)|join(' ') }}">
28 <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
29 <span>
30 {% if session.weather is defined and session.weather %}<span title="{{ session.weathertitle }}">{{ session.weather }}</span>{% endif %}
31 <span title="{{ session.slottitle }}">{{ session.slot }}</span>
32 </span>
33 </li>
34 {% endfor %}
35 </ul>
36 {% else %}
37 &nbsp;
38 {% endif %}
39 </article>
40 {% endfor %}#}
41 </div>
42 {% endif %}
43 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
44 </div>
45 </article>
46 {{ include('@RapsysAir/default/_location.html.twig') }}
47 {% endblock %}