{% extends 'base.html' %} {% block title %}User Management - DEICMS{% endblock %} {% block content %}
User Management New Investigator
Investigator Accounts
{% for inv in investigators %} {% else %} {% endfor %}
NameEmailRole StatusCreatedActions
{{ inv.full_name }} {{ inv.email }}
{% if inv.id != current_user.id %} {% endif %}
{% if not inv.is_active %} Inactive {% elif inv.is_locked() %} Locked {% else %} Active {% endif %} {% if inv.failed_login_count and inv.failed_login_count > 0 %} ({{ inv.failed_login_count }} fails) {% endif %} {{ inv.created_at.strftime('%d %b %Y') }} {% if inv.id != current_user.id %}
{% if inv.is_locked() or (inv.failed_login_count and inv.failed_login_count > 0) %}
{% endif %}
{% else %} You {% endif %}
No accounts.
{% endblock %}