From 8672d380a5d9251535fc5f517bd08fa8ed4b2560 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 22 Nov 2011 18:24:24 -0800 Subject: [PATCH] bug 12058: cloudStack 3.0 new UI - system - zone listView - add public field. --- ui/scripts/system.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 3afb3e07ee9..2cd5d84549a 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1764,7 +1764,16 @@ fields: { name: { label: 'Zone' }, networktype: { label: 'Network Type' }, - allocationstate: { label: 'Allocation State' } + allocationstate: { label: 'Allocation State' }, + domainid: { + label: 'Public', + converter: function(args) { + if(args == null) + return "Yes"; + else + return "No"; + } + } }, actions: { add: {