From 7b2bfd095cae4c5e24cad821f16e1ba01196e0ec Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 19 May 2023 17:05:02 +0200 Subject: [PATCH] adapt client oidc --- .../device/templates/devices/layout.html | 41 ++++++++----------- ereuse_devicehub/resources/device/views.py | 14 +++---- ereuse_devicehub/views.py | 4 +- 3 files changed, 28 insertions(+), 31 deletions(-) diff --git a/ereuse_devicehub/resources/device/templates/devices/layout.html b/ereuse_devicehub/resources/device/templates/devices/layout.html index 661d3c37..2490f4e3 100644 --- a/ereuse_devicehub/resources/device/templates/devices/layout.html +++ b/ereuse_devicehub/resources/device/templates/devices/layout.html @@ -41,30 +41,22 @@
-
-
-
- {% if not rol and rols %} - - {% endif %} -
-
+
@@ -236,7 +228,7 @@
-{% if user.is_anonymous %} +{% if user.is_anonymous and not rols %}