{% 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.client] %}
{% if client.logo_uri %} {% endif %} {% if client.uri %} {{ client.name }} {% else %}
{{ client.name }}
{% endif %}
{% trans %}From:{% endtrans %} {{ consent.issue_date.strftime("%d/%m/%Y %H:%M:%S") }}
{% if consent.revokation_date %}
{% trans %}Revoked:{% endtrans %} {{ consent.revokation_date.strftime("%d/%m/%Y %H:%M:%S") }}
{% endif %}

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

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

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

{% endif %}
{% endblock %}