diff --git a/openslides/participant/templates/participant/group_detail.html b/openslides/participant/templates/participant/group_detail.html index 3a7f748f4..e4896ae17 100644 --- a/openslides/participant/templates/participant/group_detail.html +++ b/openslides/participant/templates/participant/group_detail.html @@ -15,6 +15,8 @@ {% for member in group.user_set.all %}
{{ member }}
+{% empty %} +{% trans "This group has not any members." %}
{% endfor %} {% endblock %} diff --git a/openslides/participant/templates/participant/user_detail.html b/openslides/participant/templates/participant/user_detail.html index 379248bc1..b7a0e50ff 100644 --- a/openslides/participant/templates/participant/user_detail.html +++ b/openslides/participant/templates/participant/user_detail.html @@ -14,26 +14,38 @@{% for group in shown_user.groups.all %} - {{ group }}, + {{ group }}, + {% empty %} + {% trans "The participant is not member of any group." %} {% endfor %}
-{{ shown_user.get_gender_display }}
+{% if shown_user.get_gender_display %} +{{ shown_user.get_gender_display }}
+{% endif %} +{% if shown_user.get_type_display %}{{ shown_user.get_type_display }}
+{% endif %} +{% if shown_user.committee %}{{ shown_user.committee }}
+{% endif %} {% if perms.participant.can_manage_participant %} + {% if shown_user.comment %}{{ shown_user.comment }}
+ {% endif %}{{ shown_user.last_login }}
+ {% else %} +{% trans "The participant was not logged in yet." %}
{% endif %} {% endif %}