{% extends "administration/base.html" %} {% load i18n %} {% load passbook_utils %} {% block content %}

{% trans 'Tokens' %}

{% trans "Tokens are used throughout passbook for Email validation stages, Recovery keys and API access." %}

{% if object_list %}
{% include 'partials/toolbar_search.html' %} {% include 'partials/pagination.html' %}
{% for token in object_list %} {% endfor %}
{% trans 'Token' %} {% trans 'User' %} {% trans 'Expires?' %} {% trans 'Expiry Date' %}
{{ token.pk.hex }}
{{ token.user }} {{ token.expiring|yesno:"Yes,No" }} {% if not token.expiring %} - {% else %} {{ token.expires }} {% endif %} {% trans 'Delete' %}
{% include 'partials/pagination.html' %}
{% else %}
{% include 'partials/toolbar_search.html' %}

{% trans 'No Tokens.' %}

{% if request.GET.search != "" %} {% trans "Your search query doesn't match any token." %} {% else %} {% trans 'Currently no tokens exist.' %} {% endif %}
{% endif %}
{% endblock %}