mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit d53b64f1e91f397d1d524ea7be094ea674a43648)
This commit is contained in:
parent
d3a37c2a85
commit
d39723536a
@ -320,9 +320,6 @@ define(function(require) {
|
||||
$("#provision_dashboard").html("");
|
||||
if (Config.provision.dashboard.isEnabled("vms")) {
|
||||
$("#provision_dashboard").append(TemplateDashboardVms());
|
||||
if(!Config.isFeatureEnabled("cloud_vm_create")){
|
||||
$(".provision_create_vm_button").hide();
|
||||
}
|
||||
var start_time = Math.floor(new Date().getTime() / 1000);
|
||||
// ms to s
|
||||
// 604800 = 7 days = 7*24*60*60
|
||||
@ -614,6 +611,10 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if(!Config.isFeatureEnabled("cloud_vm_create")){
|
||||
$(".provision_create_vm_button").hide();
|
||||
}
|
||||
}
|
||||
function show_provision_create_vm() {
|
||||
OpenNebula.Action.clear_cache("VMTEMPLATE");
|
||||
|
Loading…
x
Reference in New Issue
Block a user