{% extends '_list_base.html' %} {% load i18n %} {% load common_tags %} {% block content_left_head %} {% trans "Create user" %} {% endblock %} {% block table_head %} {% trans 'Name' %} {% trans 'Username' %} {% trans 'Role' %} {% trans 'User group' %} {% trans 'Asset num' %} {% trans 'Active' %} {% endblock %} {% block table_body %} {% for user in object_list %} {{ user.name }} {{ user.username }} {{ user.get_role_display }} {{ user.groups.all|join_queryset_attr:"name" }} {{ user.name }} {% if user.is_expired and user.is_active %} {% else %} {% endif %} {% trans 'Update' %} {% trans 'Delete' %} {% endfor %} {% endblock %} {% block content_bottom_left %} {% endblock %}