{# Template variables: user - currently viewed user tokens - list of ApiToken entities #}
{{ _('Token') }} | {% endblock %} {% block head_cell_last_access %}{{ _('Last access') }} | {% endblock %} {% block head_cell_actions %}{{ _('Actions') }} | {% endblock %} {% endblock head_cells %}
---|---|---|
{{ token.name }}
|
{% endblock token_cell_token %}
{% block token_cell_last_access %}
{{ h.render_datetime(token.last_access, with_hours=True) or _('Never') }} | {% endblock token_cell_last_access %} {% block token_cell_actions %}{% set action = h.url_for("user.api_token_revoke", id=user['name'], jti=token['id']) %} | {% endblock token_cell_actions %} {% endblock token_cells %}