{% extends 'admin/layout.html.twig' %} {% block title %}Administrative Benutzer:innen{% endblock %} {% block content %}
| Name | Vorname | Rolle(n) | Superadmin | Status | Letzter Login | ||
|---|---|---|---|---|---|---|---|
| {{ user.lastName }} | {{ user.firstName }} | {{ user.email }} | {% set grantedRoles = user.assignedRoles|map(role => constant('App\\Entity\\User::ROLES')[role]) %} {{ grantedRoles is empty ? '-' : grantedRoles|join(', ') }} {% for label in user.nominatedRoles %} {{ label }} angefordert {% endfor %} | {% if user.superAdmin %} {{ icon('check', 'w-4 h-4 inline-block') }} {% endif %} | {% if user.disabled %} gesp. am {{ user.disabledAt|date('d.m.Y') }} {% endif %} | {{ user.lastLoginAt ? user.lastLoginAt|date('d.m.Y, H:i') : '-' }} |
{% if is_granted('CAN_IMPERSONATE', user) %}
{{ icon('mask', 'w-4 h-4') }}
{% endif %}
{% if is_granted('CAN_EDIT_USER', user) %}
{{ icon('edit') }}
{% endif %}
|
| Keine Daten... | |||||||