{% extends "panel_base.html" %} {% import '_macros.html' as macros %} {% block header_title %}{{gettext("Users List")}} | {{get_sitename()}}{% endblock %} {% block content %}

{{gettext("Users")}}

{{gettext("Add Admin")}} {{macros.paginate(page, pages, 'panel.users_list')}}
{% for u in users %} {% endfor %}
{{gettext("ID")}} {{gettext("email")}} {{gettext("first name")}} {{gettext("last name")}} {{gettext("is admin")}} {{gettext("group name")}} {{gettext("is confirmed")}} {{gettext("settings")}}
{{u.id}} {{u.email}} {{u.get_first_name()}} {{u.get_last_name()}} {% if u.is_admin %}{{gettext("Yes")}}{% else %}{{gettext("No")}}{% endif %} {% for g in u.groups %} {{g.name}}
{% endfor %}
{% if u.confirmed %}{{gettext("Yes")}}{% else %}{{gettext("No")}}{% endif %} {{gettext("Edit")}}
{% endblock %}