{% set page_name = "查看实名认证" %} {% import "components/nothing.html" as nothing with context %} {% import "components/paginator.html" as paginator with context %} {% extends "realname_base.html" %} {% block realname_content %}
| {{ _('User ID') }} | {{ _('标记') }} | {{ _('姓名') }} | {{ _('Username') }} | {{ _('Actions') }} | |
|---|---|---|---|---|---|
| {{ udoc._id }} | {% if udoc.realname_flag == 1 %}{{ _('学生') }}{% elif udoc.realname_flag == 2 %}{{ _('老师') }}{% else %}{{ _('未设置身份') }}{% endif %} | {% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %}{{ udoc.realname_name }}{% endif %} | {{ user.render_inline(udoc) }} | {%- for group in groups -%} {%- if udoc._id in group.uids -%} {{ group.name }}{{ ' ' }} {%- endif -%} {%- endfor -%} | {{ _('Reset Password') }} |