From a2741b8d4e05f7a572b20fb70aa55bfae5a5420b Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Wed, 11 Dec 2024 20:37:34 +0100 Subject: [PATCH] nicer messages --- templates/admin/user/index.html.tera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index 1ea5ce4..bcc9ba0 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -46,7 +46,7 @@ {{ user.name }} - {% if not user.last_access and "admin" in loggedin_user.roles and user.mail %} + {% if not user.last_access and "admin" in loggedin_user.roles %}
Passwort zurücksetzen + onclick="return confirm('Willst du wirklich das Passwort von \'{{ user.name }}\'zurücksetzen?');">Passwort zurücksetzen {% endif %}