mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 12681
Show list of supported services on network offering details status 12681: resolved fixed
This commit is contained in:
parent
b4ca2c1a13
commit
9f49a86c23
@ -1626,17 +1626,24 @@
|
||||
},
|
||||
traffictype: {
|
||||
label: 'Traffic type'
|
||||
},
|
||||
supportedServices: {
|
||||
label: 'Services'
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
dataProvider: function(args) {
|
||||
args.response.success(
|
||||
{
|
||||
actionFilter: networkOfferingActionfilter,
|
||||
data:args.context.networkOfferings[0]
|
||||
}
|
||||
);
|
||||
var networkOffering = args.context.networkOfferings[0];
|
||||
|
||||
args.response.success({
|
||||
actionFilter: networkOfferingActionfilter,
|
||||
data: $.extend(args.context.networkOfferings[0], {
|
||||
supportedServices: $.map(networkOffering.service, function(service) {
|
||||
return service.name;
|
||||
}).join(', ')
|
||||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user