CS-14142: cloudstack 3.0 UI - Instance page - show Attached ISO name instead of Attached ISO Yes/No.

This commit is contained in:
Jessica Wang 2012-04-18 13:52:07 -07:00
parent e6d064952d
commit e32449613d

View File

@ -1556,14 +1556,12 @@
fields: [ fields: [
{ {
id: { label: 'label.id', isEditable: false },
displayname: { label: 'label.display.name', isEditable: true }, displayname: { label: 'label.display.name', isEditable: true },
instancename: { label: 'label.internal.name' }, instancename: { label: 'label.internal.name' },
state: { label: 'label.state', isEditable: false }, state: { label: 'label.state' },
publicip: { label: 'label.public.ip', isEditable: false }, hypervisor: { label: 'label.hypervisor' },
zonename: { label: 'label.zone.name', isEditable: false }, templatename: { label: 'label.template' },
hypervisor: { label: 'label.hypervisor', isEditable: false },
templatename: { label: 'label.template', isEditable: false },
guestosid: { guestosid: {
label: 'label.os.type', label: 'label.os.type',
isEditable: true, isEditable: true,
@ -1584,21 +1582,28 @@
} }
}, },
serviceofferingname: { label: 'label.compute.offering', isEditable: false }, /*
group: { label: 'label.group', isEditable: true }, isoid: {
hostname: { label: 'label.host', isEditable: false},
haenable: { label: 'label.ha.enabled', isEditable: false, converter:cloudStack.converters.toBooleanText },
isoid: {
label: 'label.attached.iso', label: 'label.attached.iso',
isEditable: false, isEditable: false,
converter: function(isoid) { converter: function(isoid) {
return cloudStack.converters.toBooleanText(isoid != null); return cloudStack.converters.toBooleanText(isoid != null);
} }
}, },
domain: { label: 'label.domain', isEditable: false }, */
account: { label: 'label.account', isEditable: false }, isoname: { label: 'label.attached.iso' },
created: { label: 'label.created', isEditable: false, converter: cloudStack.converters.toLocalDate },
name: { label: 'label.name', isEditable: false } serviceofferingname: { label: 'label.compute.offering' },
haenable: { label: 'label.ha.enabled', converter:cloudStack.converters.toBooleanText },
group: { label: 'label.group', isEditable: true },
zonename: { label: 'label.zone.name', isEditable: false },
hostname: { label: 'label.host' },
publicip: { label: 'label.public.ip' },
domain: { label: 'label.domain' },
account: { label: 'label.account' },
created: { label: 'label.created', converter: cloudStack.converters.toLocalDate },
name: { label: 'label.name' },
id: { label: 'label.id' }
} }
], ],