1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

small cosmetic changes of snapshot to describe of operation

This commit is contained in:
catborise 2018-09-04 15:01:11 +03:00
parent 1120b89c13
commit 33513ca648

View file

@ -511,8 +511,8 @@
</a>
</li>
<li role="presentation">
<a href="#restoresnapshot" aria-controls="restoresnapshot" role="tab" data-toggle="tab">
{% trans "Restore From Snapshot" %}
<a href="#managesnapshot" aria-controls="managesnapshot" role="tab" data-toggle="tab">
{% trans "Manage Snapshot" %}
</a>
</li>
</ul>
@ -538,10 +538,10 @@
<p>{% trans "To take a snapshot please Power Off the instance." %}</p>
{% endifequal %}
</div>
<div role="tabpanel" class="tab-pane tab-pane-bordered" id="restoresnapshot">
<div role="tabpanel" class="tab-pane tab-pane-bordered" id="managesnapshot">
{% ifequal status 5 %}
{% if snapshots %}
<p>{% trans "Choose a snapshot for restore" %}</p>
<p>{% trans "Choose a snapshot for restore/delete" %}</p>
<div class="table-responsive">
<table class="table">
<thead>
@ -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') {