From bd6fbe772e23f2653074e210886e35c1ba591cb4 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Tue, 16 Jul 2024 14:32:40 +0200 Subject: [PATCH 1/2] [BUGFIX] vorstand-no-admin.png --- templates/admin/user/index.html.tera | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index faca738..16371e8 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -41,20 +41,30 @@ {% for user in users %}
-
+
{{ user.name }} + {% if not user.last_access and "admin" in loggedin_user.roles and user.mail %} +
+ • Willkommensmail verschicken +
+ {% endif %} + {% if user.last_access %} - • ⏳ {{ user.last_access | date }} + • ⏳ {{ user.last_access | date }} {% endif %}
- {% for role in user.roles %} - {{ role }}{% if not loop.last %}, {% endif %} - {% endfor %} + {% for role in user.roles %} + {{ role }}{% if not loop.last %}, {% endif %} + {% endfor %}
@@ -64,12 +74,8 @@ enctype="multipart/form-data" class="w-full mt-2"> {% if user.pw %} - Passwort zurücksetzen - {% endif %} - {% if not user.last_access and "admin" in loggedin_user.roles %} - Willkommensmail verschicken + Passwort zurücksetzen {% endif %}
-- 2.45.2 From 16fbeea81b005f53d18f326a285093562d52b2e0 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Tue, 16 Jul 2024 14:38:27 +0200 Subject: [PATCH 2/2] [BUGFIX] only-event.png --- templates/planned.html.tera | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/planned.html.tera b/templates/planned.html.tera index 84ae217..33c4394 100644 --- a/templates/planned.html.tera +++ b/templates/planned.html.tera @@ -391,7 +391,7 @@
{# --- START Add Buttons --- #} {% if "manage_events" in loggedin_user.roles or "cox" in loggedin_user.roles %} -