{% extends 'admin/layout.html.twig' %} {% block title %}Administration site Internet - EDIFIA WEB{% endblock %} {% block content %} {% autoescape false %}

{{ 'user.gestion.page_title'|trans({}, 'admin') }}

{{ 'user.button.create'|trans({}, 'admin') }}

{% if users is defined and users is iterable %} {% for user in users %} {% endfor %} {% endif %}
{{ 'user.label.id'|trans({}, 'admin') }} {{ 'user.label.firstname'|trans({}, 'admin') }} {{ 'user.label.lastname'|trans({}, 'admin') }} {{ 'user.label.username'|trans({}, 'admin') }} {{ 'user.label.email'|trans({}, 'admin') }} {{ 'user.label.role'|trans({}, 'admin') }} {{ 'user.label.last_connection'|trans({}, 'admin') }} {{ 'user.label.moderations'|trans({}, 'admin') }} {{ 'user.label.contestations'|trans({}, 'admin') }} {{ 'user.label.actions'|trans({}, 'admin') }}
{{ user.id }} {{ user.firstname }} {{ user.lastname }} {% if user.isDummy == true %} {% endif %} {{ user.username }} {{ user.email }} {% if user.roles is defined and user.roles is iterable %} {% for role in user.roles %} {{ role }} {% endfor %} {% endif %} {{ (user.lastConnectionAt is defined and user.lastConnectionAt is not null) ? user.lastConnectionAt|date('d/m/Y H:i') : '-' }} {{ 'button.edit'|trans({}) }} {{ 'button.stats'|trans({}) }} {{ 'button.delete'|trans({}) }}
{% endautoescape %} {% endblock %}