From 00e77ba0fc5864f409d6de45a57b7c784d7e521e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Wed, 21 Nov 2012 14:09:47 +0100 Subject: [PATCH] Use join for the group list also in the participant view --- .../participant/templates/participant/user_detail.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 %}