From 58b43c93bd5c99a8b87ffad0cf3d99be9c43b690 Mon Sep 17 00:00:00 2001 From: Jochen Mehlich Date: Wed, 20 Dec 2023 18:30:51 +0100 Subject: [PATCH] added checks if user is activated in person overview Signed-off-by: Jochen Mehlich --- sourcePerson/templates/header.html | 1 + sourcePerson/templates/list.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sourcePerson/templates/header.html b/sourcePerson/templates/header.html index afdb3e3..525eefb 100644 --- a/sourcePerson/templates/header.html +++ b/sourcePerson/templates/header.html @@ -1,6 +1,7 @@ {% load bootstrap5 %} {% bootstrap_css %} {% bootstrap_javascript %} +{% load static %} diff --git a/sourcePerson/templates/list.html b/sourcePerson/templates/list.html index 02096ed..e39a0a3 100644 --- a/sourcePerson/templates/list.html +++ b/sourcePerson/templates/list.html @@ -17,7 +17,7 @@ {{ person.name }} {{ person.description }} - {{ person.isActive}} + {% if person.isActive %} {% else %} {% endif %} {% endfor %}