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

{% trans %}My consents{% endtrans %}

{% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endwith %} {% 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 %}