{% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 %} {% load i18n %} {% block content %}

{{virtual_machine.name}}


{{virtual_machine.hosting_company_name}}

{% if virtual_machine.ipv6 %}
{% else %}
{% trans "Ip not assigned yet"%}
{% endif %}
{% trans "Cores"%} {{virtual_machine.cores}}
{% trans "Memory"%}
{{virtual_machine.memory}} GB
{% trans "Disk"%} {{virtual_machine.disk_size|floatformat:2}} GB
{% trans "Configuration"%}: {{virtual_machine.configuration}}

{% trans "Current pricing"%}

{{virtual_machine.price|floatformat}} CHF/month

{% trans "Current status"%}

{% if virtual_machine.state == 'PENDING' %} Pending {% elif virtual_machine.state == 'ACTIVE' %} Online {% elif virtual_machine.state == 'FAILED'%} Failed {% endif %}
{% if not virtual_machine.status == 'canceled' %}
{% csrf_token %}

{% if messages %}
{% for message in messages %} {{ message }} {% endfor %}
{% endif %}
{% endif %}
{%endblock%}