diff --git a/templates/instance.html b/templates/instance.html index 1da1900..8dd0e58 100644 --- a/templates/instance.html +++ b/templates/instance.html @@ -34,6 +34,7 @@ +
Take Snapshots
+ {% ifequal 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." %}
+ + + {% else %} +{% trans "To take a snapshot please Power Off the instance." %}
+ {% endifequal %}Restore Snapshots
+ {% ifequal status 5 %} + {% if snapshots %} +| {% trans "Name" %} | +{% trans "Date" %} | +{% trans "Action" %} | +|
|---|---|---|---|
| {{ snap.name }} | +{{ snap.date|date:"M d H:i:s" }} | ++ + | ++ + | +
{% trans "You do not have any snapshots" %}
+ {% endif %} + {% else %} +{% trans "To restore snapshots you need Power Off the instance." %}
+ {% endifequal %}