{% extends 'base.html' %} {% block body %}
Link | Status | Created on | Expires after | Permissions | Usages | |
---|---|---|---|---|---|---|
{{ invite.token }} |
{% if invite.disabled %} Disabled {% elif invite.voided %} Voided {% elif invite.expired %} Expired {% elif not invite.active %} Invalid {% elif invite.single_use %} Valid once {% else %} Valid {% endif %} | {{ invite.created.strftime('%Y-%m-%d %H:%M') }} | {{ invite.valid_until.strftime('%Y-%m-%d %H:%M') }} | {{ 'Signup' if invite.allow_signup }}{{ ', ' if invite.allow_signup and invite.roles }} {% for role in invite.roles %}{{ ', ' if loop.index != 1 }} {{ role.name }}{% endfor %} | {{ invite.signups|selectattr('completed')|list|length }} , {{ invite.grants|length }} | {% if invite.active %} {% else %} {% endif %} |