{% extends "_base.html" %} {% block content %}{{ super() }}
{{ _('Name') }} | {{ _('Action') }} | {% if current_user.is_admin %}{{ _('Last login') }} | {% endif %}
{{ 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 %}
|
{% if current_user.is_admin %}
{{ user.format_last_login(current_user.timezone_offset_minutes) }} | {% endif %}