1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #5052 VM create disabled (#240)

This commit is contained in:
Abel Coronado 2017-04-07 11:05:05 +02:00 committed by Tino Vázquez
parent fcf003038f
commit 4909e44d00

View File

@ -300,6 +300,10 @@ define(function(require) {
if (Config.provision.dashboard.isEnabled("vms")) {
$("#provision_dashboard").append(TemplateDashboardVms());
if(!Config.isProvisionTabEnabled("provision-tab", "templates")){
$('.provision_create_vm_button').hide();
}
var start_time = Math.floor(new Date().getTime() / 1000);
// ms to s