diff --git a/instances/templates/instance.html b/instances/templates/instance.html index f7d19cc..968d307 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -549,54 +549,51 @@ {% endifequal %}
- {% ifequal status 5 %} - {% if snapshots %} -

{% trans "Choose a snapshot for restore/delete" %}

-
- - - - - - - - {% for snap in snapshots %} - - - - - + + + {% endfor %} + +
{% trans "Name" %}{% trans "Date" %}{% trans "Action" %}
{{ snap.name }}{{ snap.date|date:"M d H:i:s" }} -
{% csrf_token %} - - {% ifequal status 5 %} - - {% else %} - - {% endifequal %} -
-
-
{% csrf_token %} - - + {% endifequal %} + +
+
{% csrf_token %} + + +
+
+
{% else %} -

{% trans "To restore snapshots you need Power Off the instance." %}

- {% endifequal %} +

{% trans "You do not have any snapshots" %}

+ {% endif %}