diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 8473465..aa3af36 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -35,6 +35,7 @@ {{ disk.size|filesizeformat }} {% trans "Disk" %} | {% endfor %} + on {{ compute.name}} - {{ compute.hostname }} {% if user_quota_msg %} @@ -318,7 +319,7 @@
- {% if request.user.is_superuser or request.user.is_staff or userinstace.is_change %} + {% if request.user.is_superuser or request.user.is_staff or userinstance.is_change %}
{% csrf_token %}

{% trans "Logical host CPUs:" %} {{ vcpu_host }}

@@ -396,7 +397,7 @@
- {% if request.user.is_superuser or userinstace.is_change %} + {% if request.user.is_superuser or userinstance.is_change %} {% csrf_token %}

{% trans "Volume parameters" %}

@@ -588,7 +589,7 @@ {% endif %} - {% if request.user.is_superuser or userinstace.is_vnc %} + {% if request.user.is_superuser or userinstance.is_vnc %}
  • {% trans "VNC" %} @@ -689,7 +690,7 @@
  • {% endif %} - {% if request.user.is_superuser or userinstace.is_vnc %} + {% if request.user.is_superuser or userinstance.is_vnc %}

    {% trans "To set console's type, shutdown the instance." %}

    {% csrf_token %} @@ -811,19 +812,29 @@

    {% trans "Network devices" %}

    {% for network in networks %}
    - -
    + +
    - + +
    +
    +
    {% endfor %} {% ifequal status 5 %} - + {% else %} - + {% endifequal %}
    @@ -1149,7 +1160,7 @@

    {% trans "Delete storage for instance?" %}

    - {% if request.user.is_superuser or userinstace.is_delete %} + {% if request.user.is_superuser or userinstance.is_delete %} {% ifequal status 3 %} {% else %} @@ -1321,6 +1332,17 @@ }); }); +