From 143a0223e7f0190720a3a4dd027fc2cd80212372 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 9 Aug 2012 16:13:20 -0700 Subject: [PATCH] CS-15913: Add state column to VPN connection listing --- ui/scripts/vpc.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index f3ec5fe6811..9959f2a2543 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -900,7 +900,14 @@ fields: { publicip: { label: 'label.ip.address' }, gateway: { label: 'label.gateway' }, - cidrlist: { label: 'CIDR list' }, + state: { + label: 'label.state', + indicator: { + 'Connected': 'on', + 'Disconnected': 'off', + 'Error': 'off' + } + }, ipsecpsk: { label: 'IPsec Preshared-Key' }, ikepolicy: { label: 'IKE policy' }, esppolicy: { label: 'ESP policy' } @@ -1006,7 +1013,7 @@ ); } }); - }, + }, notification: { poll: pollAsyncJobResult }