{# avatar of the member #}
{% if user.avatar is not null %} Avatar {% else %} {% endif %}
{% if not isInvited %}
{{ user.displayName }}
{% endif %} {# category of the member or badge of the invited user #} {% if category is not null %}

{% if category.parent %} {{ category.parent }}  /  {% endif %} {{ category }}

{% endif %} {% if isInvited %}
{% include 'components/utils/_badge.html.twig' with { type: 'invited member', name: (i18n_prefix ~ '.pending_invitation')|trans } %}
{% endif %}