{% load i18n %}
{% load l10n %}
{% comment %}
This template can be included in apps that need to handle any kind of custom sessions.
This is often the case if you want anonymous sessions that handle sensitive information
to expire as soon as possible.
To use the template as is simply include it in your "base.html":
{% block pre-section %}
{% include "hshassets/includes/session_timer.html" %}
{% endblock %}
You can also specify "end_session_icon" and "end_session_text" when including:
{% include "hshassets/includes/session_timer.html" with end_session_icon="fas fa-lock" end_session_text="Lock" %}
Chances are that you need even more fine grained control over the template so you can also extend
it in your app and include your extended template instead or write your own from the getgo.
Also make sure to include the corresponding javascript in your "base.html":
{% block post-script %}
{% if debug %}
{% else %}
{% endif %}
{% endblock post-script %}
{% endcomment %}