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 <[email protected]> Authored: Thu Aug 9 16:13:04 2012 -0700 Committer: Brian Federle <[email protected]> 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 } }
