{% extends "authkeys/base.html" %} {% block intro %}{{ _("API Keys: Key History" | safe) }}{% endblock %} {% block subcontent %}

Return to the key list

{{ _("Created") }}
  {{ key.created }}
{{ _("Description") }}
  {{ key.description }}

{% if not items.object_list|length %}

{{ _("This key has not been used yet.") }}

{% else %}

Time | Action | Object | Notes
--- | --- | --- | ---
{% for item in items.object_list %}
{{ item.created }} | {{ item.action }} | {% set short_desc = item.content_object.__repr__() | truncate(50) %} {% if item.content_object.get_absolute_url %} {{ short_desc }} {% else %} {{ short_desc }} {% endif %} | {{ item.notes }}
{% endfor %}

{{ items|paginator }} {% endif %} {% endblock %}