From a1c59b1b180d4bf21bd34c7bafb2166c6fea8e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Wed, 21 Jul 2021 11:26:22 +0200 Subject: [PATCH] feature/Hide the delete status once a user is not deleted --- apimanager/users/templates/users/detail.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apimanager/users/templates/users/detail.html b/apimanager/users/templates/users/detail.html index a80b761..b71a7f9 100644 --- a/apimanager/users/templates/users/detail.html +++ b/apimanager/users/templates/users/detail.html @@ -27,10 +27,15 @@ {{ apiuser.provider_id }} + + {% if apiuser.is_deleted %}
Deleted
{{ apiuser.is_deleted }}
+ {% else %} + + {% endif %}
{% csrf_token %}