mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 12288: Add more fields to network list view/detail view
-Added Network type field -Added VLAN ID field (from broadcasturi)
This commit is contained in:
parent
69e3f037a5
commit
547972eed5
@ -73,9 +73,19 @@
|
||||
},
|
||||
fields: {
|
||||
name: { label: 'Name' },
|
||||
type: { label: 'Type' },
|
||||
traffictype: { label: 'Traffic Type' },
|
||||
gateway: { label: 'Gateway' },
|
||||
vlan: { label: 'VLAN' }
|
||||
broadcasturi: {
|
||||
label: 'VLAN',
|
||||
converter: function(value) {
|
||||
if (value)
|
||||
return value.split('vlan://')[1];
|
||||
|
||||
return 'Untagged';
|
||||
}
|
||||
},
|
||||
state: { label: 'State', indicator: { 'Setup': 'on' } }
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
@ -104,7 +114,7 @@
|
||||
name: { label: 'Name' }
|
||||
},
|
||||
{
|
||||
name: { label: 'Short name' },
|
||||
type: { label: 'Type' },
|
||||
displaytext: { label: 'Description' },
|
||||
traffictype: { label: 'Traffic Type' },
|
||||
gateway: { label: 'Gateway' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user