diff --git a/canaille/oidc/templates/token_view.html b/canaille/oidc/templates/token_view.html index b1f1f817..91a0da88 100644 --- a/canaille/oidc/templates/token_view.html +++ b/canaille/oidc/templates/token_view.html @@ -89,11 +89,18 @@ {{ _("Issue date") }} - {{ token.issue_date }} + {{ token.issue_date|datetimeformat }} {{ _("Expiration date") }} - {{ token.expire_date }} + + {{ token.expire_date|datetimeformat }} + {% if token.is_expired() %} + +
{% trans %}This token has expired.{% endtrans %}
+
+ {% endif %} + {{ _("Revokation date") }}