From 849d66564cee27b3fef2f8b7b896714e9cb2f6cb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 29 Nov 2019 14:56:42 +0000 Subject: [PATCH] people: Show groups only staff Signed-off-by: Michael Tremer --- src/templates/people/user.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/people/user.html b/src/templates/people/user.html index a94fbdf5..a89ec8d0 100644 --- a/src/templates/people/user.html +++ b/src/templates/people/user.html @@ -87,7 +87,7 @@ {% end %} - {% if account.groups %} + {% if current_user.is_staff() and account.groups %}
@@ -98,7 +98,7 @@
{% for g in account.groups %} - + {{ g }} {% end %} -- 2.47.3