From e7fb408c3ab09b3aed5c862848f02d28d1a25f35 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 9 Nov 2021 12:52:55 +0300 Subject: view_group.html: Remove redundant bool check --- wqflask/wqflask/templates/admin/view_group.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wqflask/wqflask/templates/admin/view_group.html b/wqflask/wqflask/templates/admin/view_group.html index 26692fe8..b14fd14e 100644 --- a/wqflask/wqflask/templates/admin/view_group.html +++ b/wqflask/wqflask/templates/admin/view_group.html @@ -14,7 +14,7 @@ - {% if user_is_admin == true %} + {% if is_admin %}
@@ -51,7 +51,7 @@ {% endfor %} - {% if user_is_admin == true %} + {% if is_admin %}
E-mail of user to add to admins (multiple e-mails can be added separated by commas): @@ -88,7 +88,7 @@ {% endfor %} - {% if user_is_admin == true %} + {% if is_admin %}
E-mail of user to add to members (multiple e-mails can be added separated by commas): @@ -99,7 +99,7 @@ {% endif %} {% else %} There are currently no members in this group. - {% if user_is_admin == true %} + {% if is_admin %}
E-mail of user to add to members (multiple e-mails can be added separated by commas): -- cgit v1.2.3