{% extends 'base.html' %} {% block content %}

{{ user_count }} User{{ user_count|pluralize }}

{% if perms.accounts.add_user %} Send an email invitation {% endif %} {% if perms.accounts.view_apitoken %} {% endif %} {% for managed_user in users %} {% if perms.accounts.view_apitoken %} {% endif %} {% endfor %}
Username Email Remote?API token
{% if managed_user.is_superuser %} {% else %} {% endif %} {{ managed_user.username }} {{ managed_user.email }} {% if managed_user.is_remote %}yes{% endif %}{% if managed_user.api_token %}yes{% endif %} {% if perms.accounts.change_user and managed_user.editable %} {% endif %} {% if perms.accounts.delete_user and managed_user.deletable %} {% endif %}

{{ service_account_count }} Service account{{ service_account_count|pluralize }}

{% if perms.accounts.add_user and perms.accounts.add_apitoken %} Create {% endif %} {% if service_account_count %} {% if perms.accounts.view_apitoken %} {% endif %} {% for service_account in service_accounts %} {% if perms.accounts.view_apitoken %} {% endif %} {% endfor %}
NameAPI token
{{ service_account.username }} {% if service_account.api_token %}yes{% endif %} {% if perms.accounts.change_user and service_account.editable %} {% endif %} {% if perms.accounts.delete_user and service_account.deletable %} {% endif %}
{% endif %} {% endblock %}