{% if user_can_manage_members %}{% endif %} {% if not connections %}{% endif %} {% if not connections %}{% endif %} {% for api_token in tokens %} {% if user_can_manage_members %}{% endif %} {% if not connections %}{% endif %} {% if not connections %}{% endif %} {% empty %} {% endfor %}
NameUserPrefixAccess Last usedExpires
{{ api_token.name }}{{ api_token.user.username }}{{ api_token.prefix }} {% if connections and api_token.user == user %}
{% csrf_token %}
{% with current_level=api_token.level %} {{ api_token.level_display }}{% if current_level not in connection_level_keys %} (above your role){% endif %}arrow_drop_down {% endwith %} {% else %} {{ api_token.level_display }} {% endif %}
{{ api_token.last_used_at|default:"Never" }}{{ api_token.expires_at|default:"Never" }}
{% csrf_token %}
{{ empty_message }}