{% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 humanize %} {% load i18n %} {% block content %} {% if messages %}
{% for message in messages %} {{ message }} {% endfor %}
{% endif %}

{% trans "Your Virtual Machine Detail" %}

{% trans "VM Settings" %}

{{virtual_machine.name}}

{% if virtual_machine.ipv6 %}

IPv4: {{virtual_machine.ipv4}}

IPv6: {{virtual_machine.ipv6}}

{% endif %}

{% trans "Cores" %}:{{virtual_machine.cores}}

{% trans "Memory" %}:{{virtual_machine.memory}} GB

{% trans "Disk" %}:{{virtual_machine.disk_size|floatformat:2|intcomma}} GB

{% trans "Configuration" %}:{{virtual_machine.configuration}}

{% trans "Billing" %}

{% trans "Current Pricing" %}
{{order.price|floatformat:2|intcomma}} CHF/{% trans "Month" %}
{% trans "See Invoice" %}

{% trans "Status" %}

{% trans "Your VM is" %}
{% if virtual_machine.state == 'PENDING' %}
{% trans "Pending" %}
{% elif virtual_machine.state == 'ACTIVE' %}
{% trans "Online" %}
{% elif virtual_machine.state == 'FAILED'%}
{% trans "Failed" %}
{% else %}
{% endif %} {% if not virtual_machine.status == 'canceled' %}
{% csrf_token %}
{% trans "Sorry, there was an unexpected error. Kindly retry." %}
{% endif %}

{% trans "Support / Contact" %}

{% trans "Something doesn't work?" %} {% trans "We are here to help you!" %}
{% trans "BACK TO LIST" %}
{%endblock%}