diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index 60878e6fa42..371a7e20fa4 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -14,9 +14,19 @@ fields: { name: { label: 'Name', editable: true }, storagetype: { label: 'Storage Type' }, - cpuspeed: { label: 'CPU' }, - memory: { label: 'Memory' }, - domain: { label: 'Domain'} + cpunumber: { label: 'CPU number' }, + cpuspeed: { + label: 'CPU speed', + converter: function(args) { + return cloudStack.converters.convertHz(args); + } + }, + memory: { + label: 'Memory', + converter: function(args) { + return cloudStack.converters.convertBytes(args*1024*1024); + } + } }, actions: {