|
{% trans 'Name' %}: |
{{ user_object.name }} |
{% trans 'Username' %}: |
{{ user_object.username }} |
{% trans 'Email' %}: |
{{ user_object.email }} |
{% if user.phone %}
{% trans 'Phone' %}: |
{{ user_object.phone }} |
{% endif %}
{% if user_object.wechat %}
{% trans 'Wechat' %}: |
{{ user_object.wechat }} |
{% endif %}
{% trans 'Role' %}: |
{{ user_object.role_display }} |
{% trans 'MFA certification' %}: |
{% if user_object.otp_force_enabled %}
{% trans 'Force enabled' %}
{% elif user_object.otp_enabled%}
{% trans 'Enabled' %}
{% else %}
{% trans 'Disabled' %}
{% endif %}
|
{% trans 'Source' %}: |
{{ user_object.get_source_display }} |
{% trans 'Date expired' %}: |
{{ user_object.date_expired|date:"Y-m-j H:i:s" }} |
{% trans 'Created by' %}: |
{{ user_object.created_by }} |
{% trans 'Date joined' %}: |
{{ user_object.date_joined|date:"Y-m-j H:i:s" }} |
{% trans 'Last login' %}: |
{{ user_object.last_login|date:"Y-m-j H:i:s" }} |
{% if user_object.can_update_password %}
{% trans 'Last password updated' %}: |
{{ user_object.date_password_last_updated|date:"Y-m-j H:i:s" }} |
{% endif %}
{% trans 'Comment' %}: |
{{ user_object.comment }} |
{% trans 'Quick modify' %}
{% trans 'Active' %}: |
|
{% trans 'Force enabled MFA' %}: |
|
{% trans 'Reset MFA' %}: |
|
{% if user_object.can_update_password %}
{% trans 'Send reset password mail' %}: |
|
{% endif %}
{% if user_object.can_update_ssh_key %}
{% trans 'Send reset ssh key mail' %}: |
|
{% endif %}
{% trans 'Unblock user' %} |
|
{% if user.is_current_org_admin or user.is_superuser %}
{% trans 'User group' %}
{% for group in user_object.groups.all %}
{{ group.name }}
|
|
{% endfor %}
{% if LOGIN_CONFIRM_ENABLE %}
{% trans 'Login confirm' %}
{% if user_object.get_login_confirm_setting %}
{% for u in user_object.login_confirm_setting.reviewers.all %}
{{ u }}
|
|
{% endfor %}
{% endif %}
{% endif %}
{% endif %}