From 9b131b619f9a5c415b02182d154cac369764c428 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 2 Mar 2019 23:54:40 +0100 Subject: [PATCH] Show warning message when no Factor exists --- passbook/admin/templates/administration/overview.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/passbook/admin/templates/administration/overview.html b/passbook/admin/templates/administration/overview.html index 2b86d3e02..477b1806c 100644 --- a/passbook/admin/templates/administration/overview.html +++ b/passbook/admin/templates/administration/overview.html @@ -76,9 +76,13 @@

- - {{ factor_count }} - + {% if factor_count < 1 %} + + {{ factor_count }} + {% else %} + {{ worker_count }} + {% endif %}