mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - site to site VPN - VPN customer gateway - add name field.
This commit is contained in:
parent
f64a52a3f9
commit
0b1b8adf30
|
|
@ -3895,6 +3895,7 @@
|
|||
id: 'vpnCustomerGateway',
|
||||
label: 'VPN Customer Gateway',
|
||||
fields: {
|
||||
name: { label: 'label.name' },
|
||||
gateway: { label: 'label.gateway' },
|
||||
cidrlist: { label: 'CIDR list' },
|
||||
ipsecpsk: { label: 'IPsec Preshared-Key' }
|
||||
|
|
@ -3934,6 +3935,10 @@
|
|||
createForm: {
|
||||
title: 'add VPN Customer Gateway',
|
||||
fields: {
|
||||
name: {
|
||||
label: 'label.name',
|
||||
validation: { required: true }
|
||||
},
|
||||
gateway: {
|
||||
label: 'label.gateway',
|
||||
validation: { required: true }
|
||||
|
|
@ -3986,6 +3991,7 @@
|
|||
$.ajax({
|
||||
url: createURL('createVpnCustomerGateway'),
|
||||
data: {
|
||||
name: args.data.name,
|
||||
gateway: args.data.gateway,
|
||||
cidrlist: args.data.cidrlist,
|
||||
ipsecpsk: args.data.ipsecpsk,
|
||||
|
|
@ -4023,7 +4029,7 @@
|
|||
label: 'Create VPN Connection',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
return 'Are you sure you want to create VPN connection ?';
|
||||
return 'Please confirm that you want to create VPN connection.';
|
||||
},
|
||||
notification: function(args) {
|
||||
return 'Create VPN Connection';
|
||||
|
|
@ -4204,9 +4210,10 @@
|
|||
title: 'label.details',
|
||||
fields: [
|
||||
{
|
||||
gateway: { label: 'label.gateway' }
|
||||
name: { label: 'label.name' }
|
||||
},
|
||||
{
|
||||
gateway: { label: 'label.gateway' },
|
||||
cidrlist: { label: 'CIDR list' },
|
||||
ipsecpsk: { label: 'IPsec Preshared-Key' },
|
||||
id: { label: 'label.id' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue