{% extends "Global/layout.html.twig" %} {% set pagetitle = 'Manage users' | trans %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{ "dashboard_index": ('Dashboard' | trans), "current":(pagetitle) }] %} {% include "Global/navigation.html.twig" with navigation %} {{ "%resultsCount% result(s) found"|trans({'%resultsCount%': users.getTotalItemCount}) }} {{ "Sort by"|trans }} {{ knp_pagination_sortable(users, "Registration date"|trans ~ ' (' ~ "desc"|trans ~ ')', "u.createdAt", {"direction": "desc", "criteria": "u.createdAt"}) }} {{ knp_pagination_sortable(users, "Registration date"|trans ~ ' (' ~ "asc"|trans ~ ')', "u.createdAt", {"direction": "asc", "criteria": "u.createdAt"}) }} {{ knp_pagination_sortable(users, "Last login"|trans ~ ' (' ~ "desc"|trans ~ ')', "u.lastLogin", {"direction": "desc", "criteria": "u.lastLogin"}) }} {{ knp_pagination_sortable(users, "Last login"|trans ~ ' (' ~ "asc"|trans ~ ')', "u.lastLogin", {"direction": "asc", "criteria": "u.lastLogin"}) }} {{ "Role"|trans }} {{ "All"|trans }} {{ "Organizer"|trans }} {{ "Attendee"|trans }} {{ "Point of sale"|trans }} {{ "Scanner"|trans }} {{ "Created by organizer"|trans }} {{ "Organizer name"|trans }} {{ "Username"|trans }} {{ "Email"|trans }} {{ "First name"|trans }} {{ "Last name"|trans }} {{ "All"|trans }} {{ "Enabled only"|trans }} {{ "Disabled only"|trans }} {{ "Country"|trans }} {% if users.getTotalItemCount > 0 %} {% include "Dashboard/Administrator/User/manage-users-table.html.twig" with {users: users} %} {{ knp_pagination_render(users, null, {}, {'align': 'center'}) }} {% else %} {% include "Global/message.html.twig" with { type: "info", message: ('No users found'|trans), icon: "fas fa-exclamation-circle" } %} {% endif %} {% endblock %} {% block javascripts %} {% endblock %}