mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7927: UI > Infrastructure > Primary Storage > detailView > add "View Volumes" link that will list all volumes under this primary storage when being clicked.
This commit is contained in:
parent
5f99917991
commit
635abaf2e9
|
|
@ -477,7 +477,12 @@
|
|||
$.extend(data, {
|
||||
virtualMachineId: args.context.instances[0].id
|
||||
});
|
||||
}
|
||||
}
|
||||
if ("primarystorages" in args.context) {
|
||||
$.extend(data, {
|
||||
storageid: args.context.primarystorages[0].id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
|
|
|
|||
|
|
@ -17398,6 +17398,10 @@
|
|||
|
||||
detailView: {
|
||||
name: "Primary storage details",
|
||||
viewAll: {
|
||||
label: 'label.volumes',
|
||||
path: 'storage.volumes'
|
||||
},
|
||||
isMaximized: true,
|
||||
actions: {
|
||||
edit: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue