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

{{virtual_machine.name}}


{{virtual_machine.hosting_company_name}}

{% if virtual_machine.ip %}
{% else %}
Ip not assigned yet
{% endif %}
Cores
{{virtual_machine.cores}}
Memory
{{virtual_machine.memory}} GiB
Disk
{{virtual_machine.disk_size}} GiB

Current pricing

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

Orders


{% for order in virtual_machine.hosting_orders.all %} {% endfor %}
# Date Amount Status
{{order.id}} {{order.created_at}} {{order.vm_plan.price}} CHF {% if order.approved %} Approved {% else%} Declined {% endif%}

Current status

{% if virtual_machine.status == 'pending' %} {{virtual_machine.get_status_display}} {% elif virtual_machine.status == 'online' %} {{virtual_machine.get_status_display}} {% else %} {{virtual_machine.get_status_display}} {% endif %}
{%endblock%}