From 33513ca6480d81fd89dc9957969f7c0946a6a5b8 Mon Sep 17 00:00:00 2001 From: catborise Date: Tue, 4 Sep 2018 15:01:11 +0300 Subject: [PATCH] small cosmetic changes of snapshot to describe of operation --- instances/templates/instance.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/instances/templates/instance.html b/instances/templates/instance.html index f42c050..98cf692 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -511,8 +511,8 @@
  • - - {% trans "Restore From Snapshot" %} + + {% trans "Manage Snapshot" %}
  • @@ -538,10 +538,10 @@

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

    {% endifequal %} -
    +
    {% ifequal status 5 %} {% if snapshots %} -

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

    +

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

    @@ -1551,7 +1551,7 @@ } }); } - if (~$.inArray(hash, ['#takesnapshot', '#restoresnapshot'])) { + if (~$.inArray(hash, ['#takesnapshot', '#managesnapshot'])) { var btnsect = $('#navbtn>li>a'); $(btnsect).each(function () { if ($(this).attr('href') === '#snapshots') {