mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2377: UI - network menu - add guest network dialog only allows to add Isolated network, but not shared network. Change label to make it clear.
This commit is contained in:
parent
90a40b0806
commit
6975f6bac6
@ -321,7 +321,7 @@
|
|||||||
listView: {
|
listView: {
|
||||||
actions: {
|
actions: {
|
||||||
add: { //add Isolated guest network (can't add Shared guest network here)
|
add: { //add Isolated guest network (can't add Shared guest network here)
|
||||||
label: 'label.add.guest.network',
|
label: 'Add Isolated Guest Network',
|
||||||
|
|
||||||
preFilter: function(args) { //Isolated networks is only supported in Advanced (SG-disabled) zone
|
preFilter: function(args) { //Isolated networks is only supported in Advanced (SG-disabled) zone
|
||||||
if(args.context.zoneType != 'Basic')
|
if(args.context.zoneType != 'Basic')
|
||||||
@ -331,8 +331,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
createForm: {
|
createForm: {
|
||||||
title: 'label.add.guest.network',
|
title: 'Add Isolated Guest Network',
|
||||||
desc: 'message.add.guest.network',
|
desc: 'Add Isolated Guest Network with SourceNat',
|
||||||
fields: {
|
fields: {
|
||||||
name: { label: 'label.name', validation: { required: true }, docID: 'helpGuestNetworkName' },
|
name: { label: 'label.name', validation: { required: true }, docID: 'helpGuestNetworkName' },
|
||||||
displayText: { label: 'label.display.text', validation: { required: true }, docID: 'helpGuestNetworkDisplayText'},
|
displayText: { label: 'label.display.text', validation: { required: true }, docID: 'helpGuestNetworkDisplayText'},
|
||||||
@ -497,7 +497,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
messages: {
|
messages: {
|
||||||
notification: function() { return 'label.add.guest.network'; }
|
notification: function() { return 'Add Isolated Guest Network'; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user