{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "User" %} - {{ user }}{% endblock %} {% block content %}
{% include 'create_user_inst_block.html' %}
{% include 'errors_block.html' %} {% if request.user.is_superuser and publickeys %}
{% for publickey in publickeys %} {% endfor %}
{% trans "Key name" %} {% trans "Public key" %}
{{ publickey.keyname }} {{ publickey.keypublic|truncatechars:64 }}
{% endif %}
{% if not user_insts %}
{% trans "Warning" %}: {% trans "User doesn't have any Instance" %}
{% else %}
{% for inst in user_insts %} {% endfor %}
# {% trans "Instance" %} {% trans "VNC" %} {% trans "Resize" %} {% trans "Delete" %} {% trans "Action" %}
{{ forloop.counter }} {{ inst.instance.name }} {{ inst.is_vnc }} {{ inst.is_change }} {{ inst.is_delete }}
{% csrf_token %}
{% endif %}
{% endblock %}