{% extends 'base.html' %} {% load i18n user_agent %} {% block content %}
{% translate "Location" %} | {% translate "Device" %} | {% translate "Last Activity" %} |
---|---|---|
{{ session.location|default_if_none:unknown }} ({{ session.ip|default_if_none:unknown }}) | {% ua_str ua %} | {% if session.session_key == session_key %} {% blocktranslate with time=session.updated_at|timesince %}{{ time }} ago (this session){% endblocktranslate %} {% else %} {% blocktranslate with time=session.updated_at|timesince %}{{ time }} ago{% endblocktranslate %} {% endif %} |