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:
Jessica Wang 2012-01-03 15:58:30 -08:00
parent 98eb06b2a9
commit a8c50dd824
2 changed files with 9 additions and 2 deletions

View File

@ -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",

View File

@ -6857,7 +6857,11 @@
},
detailView: {
name: "Host details",
name: "Host details",
viewAll: {
label: 'Instances',
path: 'instances'
},
actions: {
edit: {
label: 'Edit',