{# Template variables: user - currently viewed user tokens - list of ApiToken entities #} {% set action = h.url_for("user.api_tokens_revoke", id=user['name']) %}
{{ h.csrf_input() }} {% block head_cells %} {% endblock head_cells %} {% for token in tokens %} {% block token_cells scoped %} {% endblock token_cells %} {% endfor %}
{{ _('Token') }} {{ _('Created') }} {{ _('Last access') }}
{{ h.render_datetime(token.created_at, with_hours=True) }} {{ h.render_datetime(token.last_access, with_hours=True) or _('Never') }}