From 32d74fb5b790a746798273e333a009d0e9c60676 Mon Sep 17 00:00:00 2001 From: stoakes Date: Mon, 7 Nov 2016 15:54:37 +0100 Subject: [PATCH] Display last connexion date in user admin panel --- src/mgate/UserBundle/Resources/views/Default/lister.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mgate/UserBundle/Resources/views/Default/lister.html.twig b/src/mgate/UserBundle/Resources/views/Default/lister.html.twig index e28ba661e..42a91e42e 100644 --- a/src/mgate/UserBundle/Resources/views/Default/lister.html.twig +++ b/src/mgate/UserBundle/Resources/views/Default/lister.html.twig @@ -22,6 +22,7 @@ Liée à Email du compte Droit + Dernière connexion {% if is_granted('ROLE_ADMIN') %} Action {% endif %} @@ -44,6 +45,7 @@ {{ user.email }} {{ user.rolesDisplay }} + {{ user.lastLogin | date('Y/m/d H:i')}} {% if is_granted('ROLE_ADMIN') %} modifier {% endif %}