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

{% trans "This may take more than an hour, depending on how much content is on your droplet and how large the disk is." %}

{% csrf_token %}
{% if instance.status == 5 %} {% else %} {% endif %}
{% else %}

{% trans "To take a snapshot please Power Off the instance." %}

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

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

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

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

{% endif %}