{% load i18n %}
# | {% trans "Name" %} {% trans "Description" %} |
{% trans "User"%} | {% trans "Status" %} | {% trans "VCPU" %} | {% trans "Memory" %} | {% trans "Actions" %} & {% trans "Mem Usage" %} |
---|---|---|---|---|---|---|
{{ host.1 }} {{ insts.items|length }} | {% if host.2 == 1 %}{% trans "Active" %}{% endif %} {% if host.2 == 2 %}{% trans "Not Active" %}{% endif %} {% if host.2 == 3 %}{% trans "Connection Failed" %}{% endif %} | {{ 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 %} | {% if vm.status == 1 %}{% trans "Active" %}{% endif %} {% if vm.status == 5 %}{% trans "Off" %}{% endif %} {% if vm.status == 3 %}{% trans "Suspend" %}{% endif %} | {{ vm.vcpu }} | {{ vm.memory |filesizeformat }} | {% include 'instance_actions.html' %} |