mirror of https://github.com/apache/cloudstack.git
bug 12147: cloudstack 3.0 new UI - host page - add "View Instances" which will display instances under the host when being clicked.
This commit is contained in:
parent
98eb06b2a9
commit
a8c50dd824
|
|
@ -735,7 +735,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if("hosts" in args.context)
|
||||
array1.push("&hostid=" + args.context.hosts[0].id);
|
||||
|
||||
$.ajax({
|
||||
url: createURL("listVirtualMachines&page=" + args.page + "&pagesize=" + pageSize + array1.join("")),
|
||||
dataType: "json",
|
||||
|
|
|
|||
|
|
@ -6857,7 +6857,11 @@
|
|||
|
||||
},
|
||||
detailView: {
|
||||
name: "Host details",
|
||||
name: "Host details",
|
||||
viewAll: {
|
||||
label: 'Instances',
|
||||
path: 'instances'
|
||||
},
|
||||
actions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
|
|
|
|||
Loading…
Reference in New Issue