- <h3><a href="{{ path('rapsys_air_user_view', {'id': id}) }}">{{ user.pseudonym }}</a></h3>
- </article>
- {% endfor %}
- {#{% for date, day in organizers %}
- <article class="{{ ['cell', 'seventh']|merge(day.class)|join(' ') }}">
- <h3>{{ day.title }}</h3>
- {% if day.sessions is not empty %}
- <ul>
- {% for session in day.sessions %}
- <li class="{{ ['session']|merge(session.class)|join(' ') }}">
- <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}" title="{{ session.applications|join('\n') }}">{{ session.title }}</a>
- <span>
- {% if session.weather is defined and session.weather %}<span title="{{ session.weathertitle }}">{{ session.weather }}</span>{% endif %}
- <span title="{{ session.slottitle }}">{{ session.slot }}</span>
- </span>
- </li>
+ <header>
+ <h3><a href="{{ user.link }}" title="{{ '%pseudonym% calendar'|trans({'%pseudonym%': user.pseudonym}) }}">{{ user.pseudonym }}</a></h3>
+ </header>
+ {% for dname, dinfos in user.dances %}
+ <dl>
+ <dt><a href="{{ dinfos.link }}">{{ dname }}</a></dt>
+ {% for dtype, dlink in dinfos.types %}
+ <dd><a href="{{ dlink }}">{{ dtype }}</a><dd>