{% extends "core/settings/settings_base.html" %} {% load rich_text %} {% load i18n %} {% block settings_content %}
{% blocktranslate trimmed with platform=platform_name %} Other applications can integrate with {{ platform }} by asking you for access to your data. You can also create personal API tokens to access {{ platform }} from other applications. If you are unsure about the origins of a token or the security of the third party application please revoke access. {% endblocktranslate %}
{# this belongs to the federation plugin, but we display the information here for better understanding #} {% if token.application.federatedhost %} {% translate "ephios instance" %} {% endif %}
{{ scope_name }}
: {{ scope_description }}{% translate "No applications have been authorized." %}
{% endfor %}
{% blocktranslate trimmed with created=token.created %}
created on {{ created }}
{% endblocktranslate %}
{% if token.revoked %}
{% blocktranslate trimmed with revoked=token.expires %}
revoked on {{ revoked }}
{% endblocktranslate %}
{% elif token.is_expired %}
{% blocktranslate trimmed with expires=token.expires %}
expired on {{ expires }}
{% endblocktranslate %}
{% elif token.expires %}
{% blocktranslate trimmed with expires=token.expires %}
expires on {{ expires }}
{% endblocktranslate %}
{% else %}
{% translate "does not expire" %}
{% endif %}
{{ scope_name }}
: {{ scope_description }}{% translate "There are no tokens." %}
{% endfor %} {% endblock %}