F #5052 VM create disabled (#240)

This commit is contained in:
Abel Coronado authored and Tino Vázquez committed 2017-04-07 11:05:05 +02:00
1 parent fcf003038f
commit 4909e44d00
1 file changed
+4
@@ -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