mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 02:22:52 +01:00
CLOUDSTACK-2074: cloudstack UI - Affinity - instance detail page - add new tab "Affinity Groups".
This commit is contained in:
parent
7566eae209
commit
935b08b216
@ -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
|
* Statistics tab
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user