{% extends "includes/crud/table_list.html" %} {% load blocktrans trans from i18n %} {% block top_left_menu_items %} {% endblock top_left_menu_items %} {% block create_button %} {% comment %} This is a CRUD interface for now, even though we only allow 1 relationsihp to Token. {% endcomment %}
{% csrf_token %}
{% endblock create_button %} {% block list_placeholder_icon_class %} key {% endblock list_placeholder_icon_class %} {% block list_placeholder_header %} {% blocktrans trimmed %} You currently have no API tokens. {% endblocktrans %}
{% blocktrans trimmed %} Add a new API token to begin using APIv3. {% endblocktrans %}
{% endblock list_placeholder_header %} {% block list_placeholder_text %} {% trans "Learn more" %} {% endblock list_placeholder_text %} {% block list_item_right_menu %}
{% csrf_token %}
{# TODO make the revoke form include a token id if we do many to many #}
{% endblock list_item_right_menu %} {% block list_item_image %} {% endblock list_item_image %} {% block list_item_header %} {{ object.key }} {% blocktrans with time_since=object.created|timesince trimmed %} Created {{ time_since }} ago {% endblocktrans %} {% endblock list_item_header %} {% block list_item_meta %} {% endblock list_item_meta %} {% block list_item_extra %} {% endblock list_item_extra %}