From 76612cb3f6b244dc97bbd027cc4ca95eb6693356 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Tue, 25 Jun 2013 16:19:32 +0200 Subject: [PATCH] Add scale information column in vms tab --- flow/sunstone/public/js/apptools-appflow-services.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/flow/sunstone/public/js/apptools-appflow-services.js b/flow/sunstone/public/js/apptools-appflow-services.js index e43bb0bbc0..f658e3dce7 100644 --- a/flow/sunstone/public/js/apptools-appflow-services.js +++ b/flow/sunstone/public/js/apptools-appflow-services.js @@ -1442,6 +1442,7 @@ function updateServiceInfo(request,elem){ \ \ \ + \ \ \ \ @@ -1603,7 +1604,16 @@ function updateServiceInfo(request,elem){ $.each(role.nodes, function(){ var vm_info = this.vm_info; if (vm_info) { - vms.push(vMachineElementArray(vm_info)); + var info = []; + if (this.scale_up) { + info.push(""); + } else if (this.disposed) { + info.push(""); + } else { + info.push(""); + } + + vms.push(info.concat(vMachineElementArray(vm_info))); } });
'+tr("ID")+''+tr("Owner")+'