From d545936f3eb8dd491c2f691da0fcdc89722e2c64 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 9 Nov 2021 12:57:14 +0300 Subject: view_group.html: Hide checkbox for non-users --- wqflask/wqflask/templates/admin/view_group.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/admin/view_group.html b/wqflask/wqflask/templates/admin/view_group.html index 4a3ecede..4a20c0dd 100644 --- a/wqflask/wqflask/templates/admin/view_group.html +++ b/wqflask/wqflask/templates/admin/view_group.html @@ -91,7 +91,12 @@ {% for member in members %} - + + + {% if is_admin %} + + {% endif %} + {{ loop.index }} {% if 'full_name' in member %}{{ member.full_name }}{% elif 'name' in admin %}{{ admin.name }}{% else %}N/A{% endif %} {% if 'email_address' in member %}{{ member.email_address }}{% else %}N/A{% endif %} -- cgit v1.2.3