{% load i18n %}

<h1>
    {{ shown_user.clean_name }}<br>
    <small>{{ shown_user.structure_level }}</small>
</h1>

{% if shown_user.committee %}
    <p>{{ shown_user.committee }}</p>
{% endif %}

<p>
    {% if shown_user.groups.all %}
        {% for group in shown_user.groups.all %}
            {% trans group.name %}{% if not forloop.last %}<br> {% endif %}
        {% endfor %}
    {% endif %}
</p>
