{% load i18n %}
{% trans "Name" %} {% trans "Description" %} |
{% trans "Host" %} {% trans "User"%} |
{% trans "Status" %} | {% trans "VCPU" %} | {% trans "Memory" %} | {% trans "Actions" %} |
---|---|---|---|---|---|
{{ vm }} {{ info.title }} |
{{ host.1 }} {% if info.userinstances.count > 0 %}{{ info.userinstances.first_user.user.username }}{% if info.userinstances.count > 1 %} (+{{ info.userinstances.count|add:"-1" }}){% endif %}{% endif %} |
{% ifequal info.status 1 %}{% trans "Active" %}{% endifequal %} {% ifequal info.status 5 %}{% trans "Off" %}{% endifequal %} {% ifequal info.status 3 %}{% trans "Suspend" %}{% endifequal %} | {{ info.vcpu }} | {{ info.memory|filesizeformat }} |