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> </a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="#restoresnapshot" aria-controls="restoresnapshot" role="tab" data-toggle="tab"> <a href="#managesnapshot" aria-controls="managesnapshot" role="tab" data-toggle="tab">
{% trans "Restore From Snapshot" %} {% trans "Manage Snapshot" %}
</a> </a>
</li> </li>
</ul> </ul>
@ -538,10 +538,10 @@
<p>{% trans "To take a snapshot please Power Off the instance." %}</p> <p>{% trans "To take a snapshot please Power Off the instance." %}</p>
{% endifequal %} {% endifequal %}
</div> </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 %} {% ifequal status 5 %}
{% if snapshots %} {% if snapshots %}
<p>{% trans "Choose a snapshot for restore" %}</p> <p>{% trans "Choose a snapshot for restore/delete" %}</p>
<div class="table-responsive"> <div class="table-responsive">
<table class="table"> <table class="table">
<thead> <thead>
@ -1551,7 +1551,7 @@
} }
}); });
} }
if (~$.inArray(hash, ['#takesnapshot', '#restoresnapshot'])) { if (~$.inArray(hash, ['#takesnapshot', '#managesnapshot'])) {
var btnsect = $('#navbtn>li>a'); var btnsect = $('#navbtn>li>a');
$(btnsect).each(function () { $(btnsect).each(function () {
if ($(this).attr('href') === '#snapshots') { if ($(this).attr('href') === '#snapshots') {