diff --git a/templates/groups/group_list.html b/templates/groups/group_list.html index 832740a..d27fb83 100644 --- a/templates/groups/group_list.html +++ b/templates/groups/group_list.html @@ -13,7 +13,7 @@ {{ group }} {{ status }} {% ifequal status None %}{% if requestable %}Request Membership{% endif %}{% endifequal %} - {% if status == 'Member' or status == 'Admin' and fixed != True %}Leave {% endif %} + {% if not fixed and status %}Leave {% endif %} {% if status == 'Admin' or request.user.is_superuser %}Admin{% endif %} {% endfor %}