You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/08/10 01:15:57 UTC
[2/3] git commit: VPC UI, VPN connections: fix 'DPD' boolean field
VPC UI, VPN connections: fix 'DPD' boolean field
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/241d83aa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/241d83aa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/241d83aa
Branch: refs/heads/vpc
Commit: 241d83aa09bd15e74aade64de9a2cadf3a5d64ba
Parents: 41afde3
Author: Brian Federle <br...@citrix.com>
Authored: Thu Aug 9 16:13:04 2012 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Thu Aug 9 16:15:29 2012 -0700
----------------------------------------------------------------------
ui/scripts/vpc.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/241d83aa/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 064e073..1529542 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1039,7 +1039,12 @@
esppolicy: { label: 'ESP policy' },
ikelifetime: { label: 'IKE Lifetime (second)' },
esplifetime: {label: 'ESP Lifetime(second)' },
- // dpd: {label: 'Dead Peer Detection'},
+ dpd: {
+ label: 'Dead Peer Detection',
+ converter: function(str) {
+ return str ? 'Yes' : 'No';
+ }
+ },
state: {label: 'State' },
created: { label: 'label.date', converter: cloudStack.converters.toLocalDate }
}