{% extends "authentic2/base-page.html" %} {% load gadjo i18n %} {% block title %} {{ view.title }} {% endblock %} {% block breadcrumb %} {{ block.super }} {% trans "Your account" %} {{ view.title }} {% endblock %} {% block content %} {% block sessions-pre %}{% endblock %}
    {% for session in sessions %}
  1. {% csrf_token %} {% block session %}
    {% block session-top %}{% endblock %}

    {% if session.parsed.os.family == "Android" or session.parsed.os.family == "iOS" %} {% translate "This session was initiated from a smartphone." %} {% else %} {% translate "This session was initiated from a computer." %} {% endif %}

    {% trans "Opened on" %}
    {{ session.created }}
    {% trans "Last used on" %}
    {{ session.updated }}
    {% with user_agent=session.parsed.user_agent %}
    {% trans "With web browser" %}
    {{ user_agent.family|default:"unknown" }} {{ user_agent.major|default:"(unknown version)" }}
    {% endwith %}
    {% trans "From remote IP address" %}
    {{ session.remote_addr }}
    {% if session.current %}

    {% translate "Current session" %}

    {% endif %}
    {% if allow_deletion %}
    {% if session.current %}

    {% translate "Your current session cannot be deleted here, it will be terminated properly as you log out." %}

    {% endif %}
    {% endif %} {% endblock %}
  2. {% endfor %}
{% block sessions-bottom %}{% endblock %}
{% block sessions-post %}{% endblock %} {% endblock %}