{% extends "administration/base.html" %} {% load i18n %} {% load passbook_utils %} {% block content %} {% trans 'Users' %} {% if object_list %} {% include 'partials/toolbar_search.html' %} {% trans 'Create' %} {% trans 'Refresh' %} {% include 'partials/pagination.html' %} {% trans 'Name' %} {% trans 'Active' %} {% trans 'Last Login' %} {% for user in object_list %} {{ user.username }} {{ user.name }} {{ user.is_active }} {{ user.last_login }} {% trans 'Update' %} {% if user.is_active %} {% trans 'Disable' %} {% else %} {% trans 'Enable' %} {% endif %} {% trans 'Reset Password' %} {% trans 'Impersonate' %} {% endfor %} {% include 'partials/pagination.html' %} {% else %} {% include 'partials/toolbar_search.html' %} {% trans 'No Users.' %} {% if request.GET.search != "" %} {% trans "Your search query doesn't match any users." %} {% else %} {% trans 'Currently no users exist. How did you even get here.' %} {% endif %} {% trans 'Create' %} {% endif %} {% endblock %}