{% from "common/macros.html" import timestamp, accordion %} {% extends "base.html" %} {% block content %}
{% set guests = (users | selectattr('permission', 'eq', PermissionLevel.GUEST.value) | list) %} {% set not_guests = (users | selectattr('permission', 'gt', PermissionLevel.GUEST.value) | list) %} {% call(section) accordion(disabled=(guests | count==0)) %} {% if section == "header" %} Unconfirmed guests {% elif section == "content" %} {% for user in guests %} {% endfor %}
Username Signed up on
{{user['username']}} {{ timestamp(user.created_at) }}
{% endif %} {% endcall %} {% call(section) accordion() %} {% if section == "header" %} Other users {% elif section == "content" %} {% for user in not_guests %} {% endfor %}
Username Permission Signed up on
{{user['username']}} {{ user.permission | permission_string }} {{ timestamp(user.created_at) }}
{% endif %} {% endcall %}
{% endblock %}