CLOUDSTACK-2074: cloudstack UI - Affinity - instance detail page - add new tab "Affinity Groups".

This commit is contained in:
Jessica Wang 2013-04-18 10:55:56 -07:00
parent 7566eae209
commit 935b08b216

View File

@ -1432,6 +1432,24 @@
}
},
/**
* Affinity Groups tab
*/
affinityGroups: {
title: 'label.affinity.groups',
multiple: true,
fields: [
{
id: { label: 'ID' },
name: { label: 'label.name' },
description: { label: 'label.description' }
}
],
dataProvider: function(args) {
args.response.success({data: args.context.instances[0].affinitygroup});
}
},
/**
* Statistics tab
*/