{#- The accounts: who, their address, whether they may sign in and have, administrators marked, how many communities, the last sign-in. Filtered by name or address, or by state; a row's ⋯ for what can be done with it. Overrides Abilian Core's page; drawn in `mockups/templates/admin-users.html`. -#} {% extends "admin/_ads.html" %} {% import "admin/_ads_macros.html" as a with context %} {% set kinds = [("all", _("All")), ("invited", _("Never signed in")), ("disabled", _("Disabled")), ("admins", _("Administrators"))] %} {% block page_title %}{{ _("Accounts") }} · {{ _("Administration") }}{% endblock %} {% block heading %}{{ _("Accounts") }}{% endblock %} {% block actions %}{{ icon("user-plus") }}{{ _("New account") }}{% endblock %} {% block content %}
| {{ _("State") }} | {{ _("Communities") }} | {{ m.sort_th(listing, "last_active", _("Last sign-in"), "ads-end") }}{{ _("Actions") }} | ||
|---|---|---|---|---|
| {{ m.avatar(user) }} {{ user.name }}{% if roles %}{{ _("Administrator") }}{% endif %} {{ user.email }} | {{ a.state(user) }} | {{ communities.get(user.id, 0) }} | {% if user.last_active %}{{ m.time(user.last_active) }}{% else %}{{ _("never") }}{% endif %} |
{{ icon("dots") }} |
| {{ _("No matching records found") }} | ||||