{% extends "panel.html" %} {% load i18n %} {% load inventree_extras %} {% load socialaccount %} {% load crispy_forms_tags %} {% load user_sessions i18n %} {% block label %}account{% endblock %} {% block heading %} {% trans "Account Settings" %} {% endblock %} {% block actions %} {% inventree_demo_mode as demo %} {% if not demo %}
{% trans "Username" %} | {{ user.username }} |
{% trans "First Name" %} | {{ user.first_name }} |
{% trans "Last Name" %} | {{ user.last_name }} |
{% trans 'The following email addresses are associated with your account:' %}
{% else %}{% trans 'Warning:'%} {% trans "You currently do not have any email address set up. You should really add an email address so you can receive notifications, reset your password, etc." %}
{% endif %}{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}
{% else %}{% trans "IP Address" %} | {% trans "Device" %} | {% trans "Last Activity" %} |
---|---|---|
{{ object.ip }} | {{ object.user_agent|device|default_if_none:unknown_on_unknown|safe }} | {% if object.session_key == session_key %} {% blocktrans with time=object.last_activity|timesince %}{{ time }} ago (this session){% endblocktrans %} {% else %} {% blocktrans with time=object.last_activity|timesince %}{{ time }} ago{% endblocktrans %} {% endif %} |