{% extends "cms/base.html" %} {% block title %}Users{% endblock %} {% block page_title %}Users{% endblock %} {% block cms_content %}
| # | Name | Role | Status | 2FA | Actions | |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} |
{% if u.avatar %}
{{ u.get_full_name|default:u.username }}
@{{ u.username }}
|
{{ u.email }} | {% include "cms/users/_role_badge.html" with role=u.role %} | {% if u.is_active %} Active {% else %} Inactive {% endif %} | {% if u.has_2fa %} {% with fa=u.two_fa %} {% if fa.preferred_method == 'totp' %}App {% elif fa.preferred_method == 'email' %}Email {% elif fa.preferred_method == 'sms' %}SMS {% else %}On{% endif %} {% endwith %} {% else %} {% endif %} | |
| No users found. | ||||||