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 %}