{% extends 'users/_base_user_detail.html' %} {% load static %} {% load i18n %} {% block custom_head_css_js %} {% endblock %} {% block content_nav_delete_update %}
  • {% trans 'Update' %}
  • {% trans 'Delete' %}
  • {% endblock %} {% block content_table %}
    {{ object.name }}
    {% if user.phone %} {% endif %} {% if object.wechat %} {% endif %} {% if object.can_update_password %} {% endif %}
    {% trans 'Name' %}: {{ object.name }}
    {% trans 'Username' %}: {{ object.username }}
    {% trans 'Email' %}: {{ object.email }}
    {% trans 'Phone' %}: {{ object.phone }}
    {% trans 'Wechat' %}: {{ object.wechat }}
    {% trans 'Role' %}: {{ object.org_role_display }}
    {% trans 'MFA' %}: {% if object.mfa_force_enabled %} {% trans 'Force enabled' %} {% elif object.mfa_enabled%} {% trans 'Enabled' %} {% else %} {% trans 'Disabled' %} {% endif %}
    {% trans 'Source' %}: {{ object.get_source_display }}
    {% trans 'Date expired' %}: {{ object.date_expired|date:"Y-m-j H:i:s" }}
    {% trans 'Created by' %}: {{ object.created_by }}
    {% trans 'Date joined' %}: {{ object.date_joined|date:"Y-m-j H:i:s" }}
    {% trans 'Last login' %}: {{ object.last_login|date:"Y-m-j H:i:s" }}
    {% trans 'Last password updated' %}: {{ object.date_password_last_updated|date:"Y-m-j H:i:s" }}
    {% trans 'Comment' %}: {{ object.comment }}
    {% trans 'Quick modify' %}
    {% if object.can_update_password %} {% endif %} {% if object.can_update_ssh_key %} {% endif %}
    {% trans 'Active' %}:
    {% trans 'Force enabled MFA' %}:
    {% trans 'Reset MFA' %}:
    {% trans 'Send reset password mail' %}:
    {% trans 'Send reset ssh key mail' %}:
    {% trans 'Unblock user' %}
    {% if request.user.can_admin_current_org %} {% if object.can_user_current_org or object.can_admin_current_org %}
    {% trans 'User group' %}
    {% for group in object.groups.all %} {% endfor %}
    {{ group.name }}
    {% endif %} {% if LICENSE_VALID and LOGIN_CONFIRM_ENABLE %}
    {% trans 'Login confirm' %}
    {% if object.get_login_confirm_setting %} {% for u in object.login_confirm_setting.reviewers.all %} {% endfor %} {% endif %}
    {{ u }}
    {% endif %} {% endif %}
    {% include 'users/_user_update_pk_modal.html' %} {% endblock %} {% block custom_foot_js %} {% endblock %}