[TASK] quick restructure of user screen #607

Merged
philipp merged 5 commits from restructure-user into main 2024-07-16 17:39:06 +02:00
Showing only changes of commit 1ad6509568 - Show all commits

View File

@ -41,19 +41,20 @@
{% for user in users %}
<div data-filterable="true"
data-filter="{{ user.name }} {% for role in roles %} {% if role.name in user.roles %} yes-role:{{ role.name }} {% else %} no-role:{{ role.name }} {% endif %} role-{{ role }} {% endfor %} {% if user.membership_pdf %}has-membership-pdf{% else %}has-no-membership-pdf{% endif %}" class="border-t bg-white dark:bg-primary-900 py-3 px-4 relative">
<details class="block">
<details class="block dark:text-white">
<summary>
<span class="text-black dark:text-white cursor-pointer">
<span class="font-bold">
{{ user.name }}
{% if user.last_access %}
(last access:
{{ user.last_access | date }})
&bullet; ⏳&nbsp;{{ user.last_access | date }}
{% endif %}
</span>
<small class="block text-gray-600 dark:text-gray-100">
{{ user.roles }}
{% for role in user.roles %}
{{ role }}{% if not loop.last %}, {% endif %}
{% endfor %}
</small>
</span>
</summary>