CLOUDSTACK UI - network menu - create guest network dialog - change label.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a59067e9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a59067e9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a59067e9 Branch: refs/heads/disk_io_throttling Commit: a59067e94f7095a2448d342d5eed0ffee5f066c0 Parents: 40982cc Author: Jessica Wang <jessicaw...@apache.org> Authored: Mon Jun 10 13:43:07 2013 -0700 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Mon Jun 10 13:43:07 2013 -0700 ---------------------------------------------------------------------- ui/scripts/network.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a59067e9/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 9e60cbc..61468fc 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -320,8 +320,8 @@ title: 'label.guest.networks', listView: { actions: { - add: { //add Isolated guest network (can't add Shared guest network here) - label: 'Add Isolated Guest Network', + add: { + label: 'Add Isolated Guest Network with SourceNat', preFilter: function(args) { //Isolated networks is only supported in Advanced (SG-disabled) zone if(args.context.zoneType != 'Basic') @@ -331,8 +331,7 @@ }, createForm: { - title: 'Add Isolated Guest Network', - desc: 'Add Isolated Guest Network with SourceNat', + title: 'Add Isolated Guest Network with SourceNat', fields: { name: { label: 'label.name', validation: { required: true }, docID: 'helpGuestNetworkName' }, displayText: { label: 'label.display.text', validation: { required: true }, docID: 'helpGuestNetworkDisplayText'},