{% extends "base.html" %} {% block content %}
{% with staff_nav_active="invites" %} {% include "partials/staff_sidebar.html" %} {% endwith %}
{% set breadcrumbs = [ {"name": "Staff", "href": "/staff"}, {"name": "Invites"} ] %} {% include "partials/breadcrumbs.html" %}

Invite links

Create and manage signup invites for new users.

Create invite
{% if notice %}
{{ notice }}
{% endif %} {% if error %}
{{ error }}
{% endif %}
{% set sort_value = query.sort | default('-created', true) %}
{% with search_reset_url="/staff/invites", search_actions_col_class="col-12 col-md-4 col-lg-3" %} {% include "partials/search_actions.html" %} {% endwith %}
{% if page.results | length == 0 %}

No invites found.

{% else %}
{% for invite in page.results %} {% endfor %}
Invite Status Creator Accepted user Created Expires Accepted
{{ invite.uuid }}
{{ invite.status_label }} {% with user_link_href = invite.created_by_href, user_link_username = invite.created_by_username, user_link_label = invite.created_by_name | display_name(invite.created_by_username), user_link_class = "text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %} {% if invite.accepted_user_href and invite.accepted_user_username and invite.accepted_user_name %} {% with user_link_href = invite.accepted_user_href, user_link_username = invite.accepted_user_username, user_link_label = invite.accepted_user_name | display_name(invite.accepted_user_username), user_link_class = "text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %} {% if invite.accepted_user_email %}
{{ invite.accepted_user_email }}
{% endif %} {% else %} Not accepted {% endif %}
{{ invite.created_at | humantime }} {{ invite.expires_at | humantime }} {% if invite.accepted_at %} {{ invite.accepted_at | humantime }} {% else %} Not accepted {% endif %}
{% endif %}
{% with page=page, query=query, per_page_id="staff-invites-per-page", per_page_form="staff-invite-filters" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}