{% extends "_base.html" %} {% block content %}{{ super() }} {% if current_user.is_admin %} {% endif %} {% for user in users %} {% if user != current_user %} {% if current_user.is_admin %} {% endif %} {% endif %} {% endfor %}
{{ _('Name') }} {{ _('Action') }}{{ _('Last login') }}
{{ user.email.split('@')[0] }} {% if user.is_admin %} {{ _('Administrator') }} {% endif %}
{{ _('Send message') }} {% if current_user.is_admin %} {% if not user.is_admin and user.is_active %} {{ _('Suspend') }} {% elif not user.is_admin %} {{ _('Activate') }} {% endif %} {% if not user.is_admin %} {{ _('Make administrator') }} {{ _('Reset password') }} {% endif %} {% endif %}
{{ user.format_last_login(current_user.timezone_offset_minutes) }}
{% endblock %}