From 0a7e1e300fdc2b0fd9c7787ce941f53d10e89dc2 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 10 Jan 2011 16:45:58 +0000 Subject: [PATCH] Fixed the group list viewing --- templates/groups/group_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}