{% extends "base.html" %} {% block content %}
{% with staff_nav_active="users" %} {% include "partials/staff_sidebar.html" %} {% endwith %}
{% set breadcrumbs = [ {"name": "Staff", "href": "/staff"}, {"name": "Users"} ] %} {% include "partials/breadcrumbs.html" %}
Users
Create user
{% if query.team_uuid %} {% endif %}
{% with search_reset_url="/staff/users", search_actions_col_class="col-12 col-md-4 col-lg-4" %} {% include "partials/search_actions.html" %} {% endwith %}
{% if page.results | length == 0 %}

No users found.

{% else %}
{% set order_value = query.order | default('-created_at', true) %} {% if order_value == "created_at" %} {% set next_order = "-created_at" %} {% else %} {% set next_order = "created_at" %} {% endif %} {% for user in page.results %} {% endfor %}
Name Status Role Created {% if order_value == "created_at" %} ↑ {% elif order_value == "-created_at" %} ↓ {% endif %}
{% with user_link_href = "/" ~ user.username, user_link_username = user.username, user_link_label = user.username, user_link_class = "" %} {% include "partials/hover_card_user_link.html" %} {% endwith %}
{% if user.is_active %} Active {% else %} Inactive {% endif %} {% if user.is_staff %} Staff {% else %} User {% endif %} {{ user.created_at | humantime }}
{% endif %}
{% with page=page, query=query, per_page_id="user-per-page-bottom", per_page_form="user-filters" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}