{% load i18n %} {% load bootstrap_icons %} {# the tokens of the signed-in user, or of owner on a superuser's view of a user #}
| {% trans "Name" %} | {% trans "Starts with" %} | {% trans "Created" %} | {% trans "Expires" %} | {% trans "Last used" %} | |
|---|---|---|---|---|---|
| {{ token.name }} | {{ token.token_key }} |
{{ token.created|date:"Y-m-d H:i" }} | {% if token.expiry %}{{ token.expiry|date:"Y-m-d H:i" }}{% else %}{% trans "never" %}{% endif %} | {% if token.last_used %}{{ token.last_used|date:"Y-m-d H:i" }}{% else %}{% trans "never" %}{% endif %} | {% bs_icon 'trash' %} |