diff --git a/openslides/participant/templates/participant/user_detail.html b/openslides/participant/templates/participant/user_detail.html index cf738c6b2..af3b581c3 100644 --- a/openslides/participant/templates/participant/user_detail.html +++ b/openslides/participant/templates/participant/user_detail.html @@ -13,11 +13,11 @@

{% trans "Groups" %}

- {% for group in shown_user.groups.all %} - {{ group }}, - {% empty %} + {% if shown_user.groups.all %} + {{ shown_user.groups.all|join:", " }} + {% else %} {% trans "The participant is not member of any group." %} - {% endfor %} + {% endif %}

{% if shown_user.get_gender_display %}