{% extends "base.html" %} {% block title %}{{ t('用户') }} · {{ product_name }}{% endblock %} {% block content %} {% if flash %}
{{ t(flash) }}
{% endif %} {% if accounts %}
{% for item in accounts %} {% endfor %}
{{ t('登录名') }} {{ t('角色') }} {{ t('最近登录') }} {{ t('是否启用') }} {{ t('操作') }}
{{ item.username }} {{ t(item.role_label) }} {% if item.last_login %}{{ local_time(item.last_login) }}{% else %}{{ t('未记录') }}{% endif %} {% if item.can_manage %}
{% else %}{{ t('已启用') if item.is_enabled else t('已停用') }}{% endif %}
{% if item.can_manage %}
{% else %}—{% endif %}
{% else %}

{{ t('还没有分析员。') }}

{% endif %} {% endblock %}