From 1cc9fbd3bf0652439dc6722a810543c065ce223b Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Fri, 23 Jul 2021 17:34:07 +0200 Subject: add notification if user of group capi views document --- client/templates/client/index.html | 12 ++++++++++++ server/views.py | 18 ++++++++++++++++++ templates/registration/base_client.html | 8 ++++---- version.txt | 2 +- 4 files changed, 35 insertions(+), 5 deletions(-) diff --git a/client/templates/client/index.html b/client/templates/client/index.html index 932af1c..7d001ec 100644 --- a/client/templates/client/index.html +++ b/client/templates/client/index.html @@ -17,6 +17,18 @@ {% if user.is_authenticated %} {% if user.is_staff or perms.client.approved %} + {% if not empty %}