{% if user %}
{% set typeuser = '' %}
{% for group in user.groups %}
{% if group.code == 'profs' %}
{% set typeuser = 'profs' %}
{% endif %}
{% if group.code == 'administration' %}
{% set typeuser = 'administration' %}
{% endif %}
{% endfor %}
{% if typeuser == 'profs' %}