feat: pending roles from crm to be confirmed by superadmins
This commit is contained in:
@@ -56,16 +56,23 @@
|
||||
{{ user.lastLoginAt ? user.lastLoginAt|date('d.m.Y, H:i') : '-' }}
|
||||
</td>
|
||||
<td>
|
||||
{% if is_granted('CAN_IMPERSONATE', user) %}
|
||||
<a href="{{ path('app_index', { '_switch_user': user.email }) }}">
|
||||
{{ icon('mask', 'w-4 h-4') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="flex items-center space-x-2">
|
||||
{% if is_granted('CAN_IMPERSONATE', user) %}
|
||||
<a href="{{ path('app_index', { '_switch_user': user.email }) }}">
|
||||
{{ icon('mask', 'w-4 h-4') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if is_granted('CAN_EDIT_USER', user) %}
|
||||
<a href="{{ path('app_admin_system_user_edit', { 'id': user.id }) }}">
|
||||
{{ icon('edit') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
<td colspan="7">
|
||||
Keine Daten...
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user