mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6140: UI - template - detailView - move fields that are used more often to the top.
This commit is contained in:
parent
b01720d936
commit
c93b0967ef
@ -938,23 +938,15 @@
|
|||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
id: {
|
isready: {
|
||||||
label: 'label.id'
|
label: 'state.ready',
|
||||||
|
converter: cloudStack.converters.toBooleanText
|
||||||
},
|
},
|
||||||
zonename: {
|
status: {
|
||||||
label: 'label.zone.name'
|
label: 'label.status'
|
||||||
},
|
|
||||||
zoneid: {
|
|
||||||
label: 'label.zone.id'
|
|
||||||
},
|
|
||||||
displaytext: {
|
|
||||||
label: 'label.description',
|
|
||||||
isEditable: true,
|
|
||||||
validation: {
|
|
||||||
required: true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
hypervisor: {
|
hypervisor: {
|
||||||
label: 'label.hypervisor'
|
label: 'label.hypervisor'
|
||||||
},
|
},
|
||||||
@ -968,17 +960,8 @@
|
|||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
converter: cloudStack.converters.toBooleanText
|
converter: cloudStack.converters.toBooleanText
|
||||||
},
|
},
|
||||||
templatetype: {
|
|
||||||
label: 'label.type'
|
|
||||||
},
|
|
||||||
isready: {
|
|
||||||
label: 'state.ready',
|
|
||||||
converter: cloudStack.converters.toBooleanText
|
|
||||||
},
|
|
||||||
status: {
|
|
||||||
label: 'label.status'
|
|
||||||
},
|
|
||||||
size: {
|
size: {
|
||||||
label: 'label.size',
|
label: 'label.size',
|
||||||
converter: function(args) {
|
converter: function(args) {
|
||||||
@ -1036,12 +1019,8 @@
|
|||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
converter: cloudStack.converters.toBooleanText
|
converter: cloudStack.converters.toBooleanText
|
||||||
},
|
},
|
||||||
crossZones: {
|
|
||||||
label: 'label.cross.zones',
|
|
||||||
converter: cloudStack.converters.toBooleanText
|
|
||||||
},
|
|
||||||
|
|
||||||
ostypeid: {
|
ostypeid: {
|
||||||
label: 'label.os.type',
|
label: 'label.os.type',
|
||||||
isEditable: true,
|
isEditable: true,
|
||||||
@ -1067,6 +1046,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
zonename: {
|
||||||
|
label: 'label.zone.name'
|
||||||
|
},
|
||||||
|
crossZones: {
|
||||||
|
label: 'label.cross.zones',
|
||||||
|
converter: cloudStack.converters.toBooleanText
|
||||||
|
},
|
||||||
|
displaytext: {
|
||||||
|
label: 'label.description',
|
||||||
|
isEditable: true,
|
||||||
|
validation: {
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
domain: {
|
domain: {
|
||||||
label: 'label.domain'
|
label: 'label.domain'
|
||||||
},
|
},
|
||||||
@ -1076,6 +1070,17 @@
|
|||||||
created: {
|
created: {
|
||||||
label: 'label.created',
|
label: 'label.created',
|
||||||
converter: cloudStack.converters.toLocalDate
|
converter: cloudStack.converters.toLocalDate
|
||||||
|
},
|
||||||
|
|
||||||
|
templatetype: {
|
||||||
|
label: 'label.type'
|
||||||
|
},
|
||||||
|
|
||||||
|
id: {
|
||||||
|
label: 'label.id'
|
||||||
|
},
|
||||||
|
zoneid: {
|
||||||
|
label: 'label.zone.id'
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user