{% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% if instances %} {% for i in instances %}
  • {{i.name|truncatechars:20}}
    {{i.state}}
    {% if i.waiting %} {% elif i.state == 'ACTIVE' %} {% trans {% trans {% trans ↺ {% elif i.state == 'PENDING' %} {% trans "starting…" %} {% elif i.state == 'STOPPED' %} {% trans {% trans {% elif i.state == 'FAILED' %} {% trans {% endif %}
    • {% trans "Hostname" %}: {{i.name}}
    • {% trans "System" %}: {{i.template.system}}
    • {% trans "Type" %}: {{i.share.type}}
    • {% trans "Share" %}: {{i.share.name}}
    • {% trans "Template" %}: {{i.template.name}}
    • {% trans "Size" %}: {{i.template.instance_type.name}}: {{i.template.instance_type.CPU}} {{i.template.instance_type.RAM}} {{i.template.instance_type.credit}}
    • {% trans "Created at" %}: {{i.created_at}}
    • {% if i.time_of_suspend %}
    • {% trans "time of suspend"|capfirst %}: {{i.time_of_suspend|timeuntil}} {% trans
    • {% endif %} {% if i.time_of_delete %}
    • {% trans "time of delete"|capfirst %}: {{i.time_of_delete|timeuntil}} {% trans
    • {% endif %}
    •   {% trans "More details" %}
  • {% endfor %} {% else %}

    {% trans "You have not started any machines yet." %}

    {% trans "Choose a template, and you can use the system in a minute." %}

    {% endif %}