mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #3782: Allow to revert to active disk snapshot in sunstone
This commit is contained in:
parent
0e708328b3
commit
da86175e43
@ -423,11 +423,11 @@ define(function(require) {
|
||||
<i class="fa fa-save"></i>' + Locale.tr("Save as") + '</a>  ';
|
||||
}
|
||||
|
||||
if(!active){
|
||||
if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) {
|
||||
html += '<a href="VM.disk_snapshot_revert" class="disk_snapshot_revert" ><i class="fa fa-reply"/>' + Locale.tr("Revert") + '</a>  ';
|
||||
}
|
||||
if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) {
|
||||
html += '<a href="VM.disk_snapshot_revert" class="disk_snapshot_revert" ><i class="fa fa-reply"/>' + Locale.tr("Revert") + '</a>  ';
|
||||
}
|
||||
|
||||
if(!active){
|
||||
if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_delete")) {
|
||||
html += '<a href="VM.disk_snapshot_delete" class="disk_snapshot_delete" ><i class="fa fa-times"/>' + Locale.tr("Delete") + '</a>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user