<!-- {if:idrole}
<div class="tc-block-body">
<ul>
{# <li class="tc-active"><a href="{page}/y/{{ annee_promo }}">Tous les étudiants</a></li>#}
</ul>
</div>
{end:} -->
{% if display_jeu is defined and display_jeu %}
<div class="tc-block-header">
<h4 class="tc-title-medium">Jeu</h4>
</div>
<div class="tc-block-body">
<ul>
{% if annee_promo is not defined or not annee_promo %}
{% set annee_promo = '' %}
{% endif %}
{% for isexe,sexe in menu_sexes %}
{% if sexe.active is defined and sexe.active %}
<li class="tc-active"><a>{{ sexe.label }}</a></li>
{% else %}
<li><a href="{{ page }}/role/5/sexe/{{ isexe }}/y/{{ annee_promo }}/photo/{{ photo }}">{{ sexe.label }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
{% if display_others is defined and display_others %}
<div class="tc-block-header">
<h4 class="tc-title-medium">Autres sections</h4>
</div>
<div class="tc-block-body">
<ul>
{% for role in roles %}
{% if role.is_jeu is not defined or (role.is_jeu is defined and role.is_jeu == false) %}
{% if role.active is defined and role.active %}
<li class="tc-active"><a>{{ role.role }}</a></li>
{% else %}
{% if annee_promo_selected is not defined %}
{% set annee_promo_selected = '' %}
{% endif %}
<li><a href="{{ page }}/role/{{ role.idrole }}/y/{{ annee_promo_selected }}/photo/{{ photo }}">{{ role.role }}</a></li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}