{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %}
{% block stylesheets %} {{ parent() }}
{% endblock %}
{% block javascripts %} {{ parent() }}
{% endblock %} {% block title %}
{{ parent() }} - {% trans from "Admin" %}List of Users{% endtrans %}
{% endblock %}
{% block body %} {% block page_title %}
{% trans from "Admin" %}List of Users{% endtrans %}
{% endif %} | {% if sortColumn == 'username' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Name'|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 == 'enabled' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Enabled'|trans({}, 'Admin') }} {% if sortColumn == 'enabled' %} {% if sortColumn == 'enabled' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'lastLogin' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Last login'|trans({}, 'Admin') }} {% if sortColumn == 'lastLogin' %} {% if sortColumn == 'lastLogin' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if sortColumn == 'roles' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Role'|trans({}, 'Admin') }} {% if sortColumn == 'roles' %} {% if sortColumn == 'roles' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} | {% if isSelect is not defined or isSelect!=1 %}{% trans from "Admingenerator" %}list.header.actions{% endtrans %} | {% endif %}
---|---|---|---|---|---|---|
{% endif %} | {% block list_td_column_username %}{{ Myuser.username }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'username'!='idHistory' and 'username' in assocs|keys and Myuser.username is not null %} {% endif %} | {% block list_td_column_email %}{{ Myuser.email }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'email'!='idHistory' and 'email' in assocs|keys and Myuser.email is not null %} {% endif %} | {% block list_td_column_enabled %} {% if Myuser.enabled %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'enabled'!='idHistory' and 'enabled' in assocs|keys and Myuser.enabled is not null %} {% endif %} | {% block list_td_column_lastLogin %}{% if Myuser.lastLogin %} {% set datetime_format = "d/m/Y" %} {{ Myuser.lastLogin|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lastLogin'!='idHistory' and 'lastLogin' in assocs|keys and Myuser.lastLogin is not null %} {% endif %} |
{% block list_td_column_roles %}
|
{% endblock %}
{% block list_object_actions %}
{% if (isSelect is not defined or isSelect!=1) and (isMulti is not defined or isMulti!=1) %}
{% if is_expr_granted('hasRole("ROLE_SUPER_ADMINISTRATOR")', Myuser) %} {% endif %} | {% endif %} {% endblock %}