{% extends "base.html" %} {% from "macros.html" import clipboard_button %} {% block title %}{{ site_name }}: {% trans %}API Keys{% endtrans %}{% endblock title %} {% block content %}
{% with %} {% if '-dev' in app_version %} {% set doc_url = "https://eve-srp.readthedocs.org/en/latest/api.html" %} {% else %} {% set doc_url = ("https://eve-srp.readthedocs.org/en/v" ~ app_version ~ "/api.html") %} {% endif %} {# TRANS: This is a chunk of text explaining what the purpose of the API keys are for. Please include the link in the text, with the special URL ("{{ doc_url }}") as well. #} {% trans doc_url=doc_url%}You can create API keys for this app\'s external API using the button below. This is unrelated to the official EVE API from CCP.{% endtrans %} {% endwith %}
{% trans %}API Key{% endtrans %} | {# TRANS: This is a heading in a table of external API keys, for the date and time an API key was created. #}{% trans %}Created{% endtrans %} | {# TRANS: This is a heading in a table of API keys, where there is a button to delete a specific API key for each row in this column. #}{% trans %}Remove{% endtrans %} |
---|---|---|
{{ clipboard_button(key.hex_key, "bottom", "") }} | {{ key.timestamp|datetimeformat(format='short') }} | |
{# TRANS: Text shown when there have been no API keys created for this user. #} {% trans %}No API keys have been created.{% endtrans %} | ||