{% extends theme('base.html') %} {% block style %} {% endblock %} {% block script %} {% endblock %} {% block content %}

{{ _("My consents") }}
{% trans %}Consult and revoke the authorization you gave to websites.{% endtrans %}

{% if consents %}
{% for consent in consents %} {% set client = clients[consent.oauthClient] %}
{% if client.oauthLogoURI %} {% endif %} {% if client.oauthClientURI %} {{ client.oauthClientName }} {% else %}
{{ client.oauthClientName }}
{% endif %}
{% trans %}From:{% endtrans %} {{ consent.issue_date.strftime("%d/%m/%Y %H:%M:%S") }}
{% if consent.oauthRevokationDate %}
{% trans %}Revoked:{% endtrans %} {{ consent.revokation_date.strftime("%d/%m/%Y %H:%M:%S") }}
{% endif %}

{% trans %}Has access to:{% endtrans %}

    {% for s in consent.oauthScope %}
  • {{ s }}
  • {% endfor %}
{% trans %}Remove access{% endtrans %}
{% endfor %}
{% else %}

{% trans %}Nothing here{% endtrans %}
{% trans %}You did not authorize applications yet.{% endtrans %}

{% endif %}
{% endblock %}