{% extends 'base.html' %} {% load static %} {% load i18n %} {% block custom_head_css_js %} {% endblock %} {% block content %}
{{ user.name }}
用户名 {{ user.username }}
姓名 {{ user.name }}
权限 {{ user.get_role_display }}
Email {{ user.email }}
激活 {{ user.is_active }}
添加日期 {{ user.date_joined|date:"Y-m-d H:i:s" }}
最后登录 {{ user.last_login|date:"Y-m-d H:i:s" }}
所在用户组 {% for group in user.groups.all %} {{ group.name }} {% endfor %}
授权主机数量 {{ assets | length }}
授权主机组 {% for group in asset_groups %} {{ group.name }} {% endfor %}
授权规则 {% for perm in permissions %} {{ perm.name }} {% endfor %}
{% trans "Update Public Key" %}

{% trans "Paste your SSH Public Key here" %}

{% endblock %} {% block custom_foot_js %} {% endblock %}