Use join for the group list also in the participant view
This commit is contained in:
parent
5939b98772
commit
00e77ba0fc
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
<h2>{% trans "Groups" %}</h2>
|
<h2>{% trans "Groups" %}</h2>
|
||||||
<p>
|
<p>
|
||||||
{% for group in shown_user.groups.all %}
|
{% if shown_user.groups.all %}
|
||||||
{{ group }},
|
{{ shown_user.groups.all|join:", " }}
|
||||||
{% empty %}
|
{% else %}
|
||||||
{% trans "The participant is not member of any group." %}
|
{% trans "The participant is not member of any group." %}
|
||||||
{% endfor %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if shown_user.get_gender_display %}
|
{% if shown_user.get_gender_display %}
|
||||||
|
Loading…
Reference in New Issue
Block a user