bug 13866

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

status 13866: resolved fixed
reviewed-by: jessica
This commit is contained in:
Brian Federle 2012-02-21 12:32:23 -08:00
parent 1d1caa8af5
commit d0c923ed40
1 changed files with 6 additions and 0 deletions

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 },