{% extends 'allianceauth/base-bs5.html' %} {% load i18n %} {% block page_title %}{% translate "FCAT Connector" %}{% endblock %} {% block content %}

{% translate "Connect FCAT" %}

{% blocktranslate %}A key lets your copy of FCAT read doctrines and structures as you. It carries no access of its own: every request is answered against your own permissions, so FCAT can never show you anything you could not open here yourself.{% endblocktranslate %}

{% csrf_token %}

{% translate "The key is shown once and stored hashed. If you lose it, revoke it and make another." %}

{% translate "Your keys" %}
{% if keys %} {% for key in keys %} {% endfor %}
{% translate "Name" %} {% translate "Key" %} {% translate "Created" %} {% translate "Last used" %}
{{ key.name|default:"-" }} {{ key.prefix }}... {{ key.created_at|date:"Y-m-d H:i" }} {{ key.last_used_at|date:"Y-m-d H:i"|default:"never" }} {% if key.is_active %}
{% csrf_token %}
{% else %} {% translate "Revoked" %} {% endif %}
{% else %}

{% translate "No keys yet." %}

{% endif %}
{% endblock %}