feat: demotion of user accounts via crm
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
{{ form_row(form.roles) }}
|
||||
{{ form_row(form.superAdmin) }}
|
||||
{{ form_row(form.hotelCodes) }}
|
||||
{{ form_row(form.disabled) }}
|
||||
{{ form_row(form.disabledReason) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<button type="submit" class="btn">
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
<th>
|
||||
Superadmin
|
||||
</th>
|
||||
<th>
|
||||
Status
|
||||
</th>
|
||||
<th>
|
||||
Letzter Login
|
||||
</th>
|
||||
@@ -52,6 +55,13 @@
|
||||
{{ icon('check', 'w-4 h-4 inline-block') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if user.disabled %}
|
||||
<span class="inline-block py-1 px-2 text-xs bg-red-500 text-white">
|
||||
gesp. am {{ user.disabledAt|date('d.m.Y') }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{{ user.lastLoginAt ? user.lastLoginAt|date('d.m.Y, H:i') : '-' }}
|
||||
</td>
|
||||
@@ -72,7 +82,7 @@
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
<td colspan="8">
|
||||
Keine Daten...
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user