{% load i18n %} {% load icons %}
{% if instance.status != 5 %}

{% trans "With running machine, internal snapshots may take more than an hour, depending on how much memory has on your instance and how large the disk is." %}

{% trans "Live snapshot could cause server timeout and instance might be paused!!!" %}

{% else %}

{% trans "Create an internal snapshot" %}

{% endif %}
{% csrf_token %}
|
{% if instance.snapshots %}

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

{% for snap in instance.snapshots %} {% endfor %}
{% trans "Date" %} {% trans "Name" %} {% trans "Description" %} {% trans "Action" %}
{{ snap.date|date:"M d H:i:s" }} {{ snap.name }} {{ snap.description }}
{% csrf_token %} {% if instance.status == 5 %} {% else %} {% endif %}
{% csrf_token %}
{% else %}

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

{% endif %}