{% extends 'account/base.html.twig' %} {% block title %} {{ 'Access history' | trans }} {% endblock %} {% set selected = "sessions" %} {% block content_account %}
{% set end_activity = "End Activity"|trans %} {% set button = ' '~end_activity~' '|raw %}  {% trans with {'%button%': button}%}If you notice any unfamiliar devices or locations, click on button %button% to end the session.{% endtrans %}
{% for session in sessions %} {% set row = session['session'] %} {% endfor %}
{{ 'Date de connexion' | trans }} {{ 'Dernier access' | trans }} {{ 'IP' | trans }} {{ 'Browser' | trans }}
{% if app['session'].get('session_id') != row.Id() %} {% trans %}End Activity{% endtrans %} {% else %} {{ 'Current session' | trans }} {% endif %} {{ app['date-formatter'].getDate(row.getCreated()) }} {{ app['date-formatter'].getDate(row.getUpdated()) }} {{ row.getIpAddress() }} {{ session['info'] }} {{ row.getBrowserName() }} {{ row.getBrowserVersion() }}
{% endblock %}