diff --git a/templates/groups/group_list.html b/templates/groups/group_list.html index d27fb83..3c8b3b3 100644 --- a/templates/groups/group_list.html +++ b/templates/groups/group_list.html @@ -11,7 +11,7 @@ Group NameStatusActions {% for id, group, status, requestable, fixed in group_list %} {{ group }} - {{ status }} + {% if status %}{{ status }}{% endif %} {% ifequal status None %}{% if requestable %}Request Membership{% endif %}{% endifequal %} {% if not fixed and status %}Leave {% endif %} {% if status == 'Admin' or request.user.is_superuser %}Admin{% endif %}