bug 13866

Display public IP on VM details panel if static NAT is enabled for
that VM

status 13866: resolved fixed
This commit is contained in:
Brian Federle 2012-02-21 12:31:48 -08:00
parent d0612151d8
commit 17b34f4678

View File

@ -1485,6 +1485,11 @@
else {
hiddenFields = ["hypervisor"];
}
if (!args.context.instances[0].publicip) {
hiddenFields.push('publicip');
}
return hiddenFields;
},
@ -1493,6 +1498,7 @@
id: { label: 'label.id', isEditable: false },
displayname: { label: 'label.display.name', isEditable: true },
state: { label: 'label.state', isEditable: false },
publicip: { label: 'label.public.ip', isEditable: false },
zonename: { label: 'label.zone.name', isEditable: false },
hypervisor: { label: 'label.hypervisor', isEditable: false },
templatename: { label: 'label.template', isEditable: false },