diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index 409de92..b2a8f9b 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -36,37 +36,52 @@ placeholder="Suchen nach (Name, [yes|no]-role:, has-[no-]membership-pdf)" /> -
-
- {% for user in users %} -
+
+ {% 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 }}{% endif %} +
+ + {% for role in user.roles %} + {{ role }} + {% if not loop.last %},{% endif %} + {% endfor %} + +
+
-
+ class="w-full mt-2"> + {% if user.pw %} + Passwort zurücksetzen + {% endif %} +
-
- {{ user.name }} - {% if user.last_access %} - (last access: - {{ user.last_access | date }}) - {% endif %} - {% if user.pw %} - Passwort zurücksetzen - {% endif %} - {% if not user.last_access and "admin" in loggedin_user.roles %} - Willkommensmail verschicken - {% endif %} -
{% for role in roles %} {{ macros::checkbox(label=role.name, name="roles[" ~ role.id ~ "]", id=loop.index , checked=role.name in user.roles, disabled=allowed_to_edit == false) }} {% endfor %} +
{% if user.membership_pdf %} Beitrittserklärung herunterladen @@ -100,8 +115,8 @@
{% endif %} -
- {% endfor %} -
+
+
+ {% endfor %}
{% endblock content %} diff --git a/templates/planned.html.tera b/templates/planned.html.tera index 84ae217..84ceb49 100644 --- a/templates/planned.html.tera +++ b/templates/planned.html.tera @@ -391,15 +391,15 @@
{# --- START Add Buttons --- #} {% if "manage_events" in loggedin_user.roles or "cox" in loggedin_user.roles %} -
+
{% if "manage_events" in loggedin_user.roles %} - + {% include "includes/plus-icon" %} Event