Skip to content

Commit

Permalink
Display last connexion date in user admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoakes committed Nov 7, 2016
1 parent beafc72 commit 32d74fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mgate/UserBundle/Resources/views/Default/lister.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<th>Liée à</th>
<th>Email du compte</th>
<th>Droit</th>
<th>Dernière connexion</th>
{% if is_granted('ROLE_ADMIN') %}
<th>Action</th>
{% endif %}
Expand All @@ -44,6 +45,7 @@
</td>
<td>{{ user.email }}</td>
<td>{{ user.rolesDisplay }}</td>
<td>{{ user.lastLogin | date('Y/m/d H:i')}}</td>
{% if is_granted('ROLE_ADMIN') %}
<td><a href="{{ path('mgate_user_modifier', {'id': user.id}) }}">modifier</a></td>
{% endif %}
Expand Down

0 comments on commit 32d74fb

Please sign in to comment.