Feature #3782: Allow to revert to active disk snapshot in sunstone

This commit is contained in:
Carlos Martín committed 2015-07-07 16:22:00 +02:00
1 parent 0e708328b3
commit da86175e43
1 file changed
+4 -4
@@ -423,11 +423,11 @@ define(function(require) {
<i class="fa fa-save"></i>' + Locale.tr("Save as") + '</a> &emsp;';
}
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> &emsp;';
}
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> &emsp;';
}
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>';
}