{% if hosts_vms %}
Hide:
{% for host, vms in hosts_vms.items %} {% if vms %} {% for vm, info in vms.items %} {% endfor %} {% endif %} {% endfor %}
# {% trans "Hostname / VMs" %} {% trans "Status" %} {% trans "VCPUs" %} {% trans "Memory" %} {% trans "Usage" %}
{{ forloop.counter }} {{ host.1 }} {% 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 }} {{ host.5 }}%
{{ forloop.counter }}   {{ vm }} {% ifequal info.0 1 %}{% trans "Running" %}{% endifequal %} {% ifequal info.0 3 %}{% trans "Suspend" %}{% endifequal %} {% ifequal info.0 5 %}{% trans "Shutoff" %}{% endifequal %} {{ info.1 }} {{ info.2|filesizeformat }} {{ info.3 }}%
{% else %}

{% trans "You have no connection" %}

{% endif %}