mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloudstack 3.0 new UI - configuration page, event page, storage page, system page, template page - apply converter toLocalDate() to date field.
This commit is contained in:
parent
1e3fd11369
commit
b3fef67db9
@ -287,7 +287,7 @@
|
||||
tags: { label: 'Storage tags' },
|
||||
hosttags: { label: 'Host tags' },
|
||||
domain: { label: 'Domain' },
|
||||
created: { label: 'Created' }
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
|
||||
@ -583,7 +583,7 @@
|
||||
tags: { label: 'Storage tags' },
|
||||
hosttags: { label: 'Host tags' },
|
||||
domain: { label: 'Domain' },
|
||||
created: { label: 'Created' }
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
type: { label: 'Type' },
|
||||
description: { label: 'Description' },
|
||||
username: { label: 'Initiated By' },
|
||||
created: { label: 'Date' }
|
||||
created: { label: 'Date', converter: cloudStack.converters.toLocalDate }
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
@ -44,7 +44,7 @@
|
||||
{
|
||||
type: { label: 'Type' },
|
||||
description: { label: 'Description' },
|
||||
created: { label: 'Date' }
|
||||
created: { label: 'Date', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
@ -61,10 +61,9 @@
|
||||
listView: {
|
||||
id: 'alerts',
|
||||
label: 'Alerts',
|
||||
fields: {
|
||||
type: { label: 'Type' },
|
||||
fields: {
|
||||
description: { label: 'Description' },
|
||||
sent: { label: 'Date' }
|
||||
sent: { label: 'Date', converter: cloudStack.converters.toLocalDate }
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
@ -84,9 +83,9 @@
|
||||
title: 'Details',
|
||||
fields: [
|
||||
{
|
||||
type: { label: 'Type' },
|
||||
id: { label: 'ID' },
|
||||
description: { label: 'Description' },
|
||||
sent: { label: 'Date' }
|
||||
sent: { label: 'Date', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
|
||||
@ -1053,7 +1053,7 @@
|
||||
volumename: { label: 'Volume' },
|
||||
state: { label: 'State', indicator: { 'BackedUp': 'on', 'Destroyed': 'off' } },
|
||||
intervaltype: { label: 'Interval Type' },
|
||||
created: { label: 'Date' }
|
||||
created: { label: 'Date', converter: cloudStack.converters.toLocalDate }
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
@ -2015,7 +2015,7 @@
|
||||
networkdomain: { label: 'Network domain' },
|
||||
domain: { label: 'Domain' },
|
||||
account: { label: 'Account' },
|
||||
created: { label: 'Created' },
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate },
|
||||
isredundantrouter: {
|
||||
label: 'Redundant router',
|
||||
converter: cloudStack.converters.toBooleanText
|
||||
@ -4139,7 +4139,7 @@
|
||||
linklocalip: { label: 'Link local IP' },
|
||||
hostname: { label: 'Host' },
|
||||
gateway: { label: 'Gateway' },
|
||||
created: { label: 'Created' },
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate },
|
||||
activeviewersessions: { label: 'Active sessions' }
|
||||
}
|
||||
],
|
||||
@ -5315,7 +5315,7 @@
|
||||
linklocalip: { label: 'Link local IP' },
|
||||
hostname: { label: 'Host' },
|
||||
gateway: { label: 'Gateway' },
|
||||
created: { label: 'Created' },
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate },
|
||||
activeviewersessions: { label: 'Active sessions' }
|
||||
}
|
||||
],
|
||||
|
||||
@ -800,7 +800,7 @@
|
||||
|
||||
domain: { label: 'Domain' },
|
||||
account: { label: 'Account' },
|
||||
created: { label: 'Created' }
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
|
||||
@ -1486,7 +1486,7 @@
|
||||
|
||||
domain: { label: 'Domain' },
|
||||
account: { label: 'Account' },
|
||||
created: { label: 'Created' }
|
||||
created: { label: 'Created', converter: cloudStack.converters.toLocalDate }
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user