{% load i18n %}
# | {% trans "Name" %} {% trans "Description" %} |
{% trans "User"%} | {% trans "Status" %} | {% trans "VCPU" %} | {% trans "Memory" %} | {% trans "Actions & Mem Usage" %} |
---|---|---|---|---|---|---|
{{ host.1 }} {{ insts.items|length }} | {% ifequal host.2 1 %}{% trans "Active" %}{% endifequal %} {% ifequal host.2 2 %}{% trans "Not Active" %}{% endifequal %} {% ifequal host.2 3 %}{% trans "Connection Failed" %}{% endifequal %} | {{ host.3 }} | {{ host.4|filesizeformat }} |
|
||
{{ forloop.counter }} |
{{ inst }} {{ vm.title }} |
{% if vm.userinstances.count > 0 %} {{ vm.userinstances.first_user.user.username }} {% if vm.userinstances.count > 1 %} (+{{ vm.userinstances.count|add:"-1" }}){% endif %} {% endif %} | {% ifequal vm.status 1 %}{% trans "Active" %}{% endifequal %} {% ifequal vm.status 5 %}{% trans "Off" %}{% endifequal %} {% ifequal vm.status 3 %}{% trans "Suspend" %}{% endifequal %} | {{ vm.vcpu }} | {{ vm.memory |filesizeformat }} | {% include 'instance_actions.html' %} |