{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }}{% trans from "Admin" %}Liste des utilisateurs{% endtrans %} {% endblock %} {% block body %}{{ block('actionsmenu') }}
| {% endif %} | {% if sortColumn == 'username' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Nom d\'utilisateur (login)'|trans({}, 'Admin') }} {% if sortColumn == 'username' %} {% if sortColumn == 'username' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'email' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Email'|trans({}, 'Admin') }} {% if sortColumn == 'email' %} {% if sortColumn == 'email' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'idCentres' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Centre(s)'|trans({}, 'Admin') }} {% if sortColumn == 'idCentres' %} {% if sortColumn == 'idCentres' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'roles' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Groupes'|trans({}, 'Admin') }} {% if sortColumn == 'roles' %} {% if sortColumn == 'roles' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'enabled' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Actif'|trans({}, 'Admin') }} {% if sortColumn == 'enabled' %} {% if sortColumn == 'enabled' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if isSelect is not defined or isSelect!=1 %}{% trans from "Admingenerator" %}list.header.actions{% endtrans %} | {% endif %}
|---|---|---|---|---|---|---|
| {% endif %} | {% if (isSelect is not defined or isSelect!=1) and 'username' in assocs|keys and Myuser.username is not null %} {% set idfield = attribute(Myuser.username,assocs['username'].refid) %} {% endif %} {% block list_td_column_username %}{{ Myuser.username }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'username' in assocs|keys and Myuser.username is not null %} {% endif %} | {% if (isSelect is not defined or isSelect!=1) and 'email' in assocs|keys and Myuser.email is not null %} {% set idfield = attribute(Myuser.email,assocs['email'].refid) %} {% endif %} {% block list_td_column_email %}{{ Myuser.email }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'email' in assocs|keys and Myuser.email is not null %} {% endif %} |
{% if (isSelect is not defined or isSelect!=1) and 'idCentres' in assocs|keys and Myuser.idCentres is not null %}
{% set idfield = attribute(Myuser.idCentres,assocs['idCentres'].refid) %}
{% endif %}
{% block list_td_column_idCentres %}
|
{% if (isSelect is not defined or isSelect!=1) and 'roles' in assocs|keys and Myuser.roles is not null %}
{% set idfield = attribute(Myuser.roles,assocs['roles'].refid) %}
{% endif %}
{% block list_td_column_roles %}
|
{% if (isSelect is not defined or isSelect!=1) and 'enabled' in assocs|keys and Myuser.enabled is not null %} {% set idfield = attribute(Myuser.enabled,assocs['enabled'].refid) %} {% endif %} {% block list_td_column_enabled %} {% if Myuser.enabled %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'enabled' in assocs|keys and Myuser.enabled is not null %} {% endif %} | {% endblock %} {% block list_object_actions %} {% if isSelect is not defined or isSelect!=1 %}{% endif %} {% endblock %} |
| {% trans from "Admingenerator" %}list.no.results{% endtrans %} | ||||||