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' }, |                     tags: { label: 'Storage tags' }, | ||||||
|                     hosttags: { label: 'Host tags' }, |                     hosttags: { label: 'Host tags' }, | ||||||
|                     domain: { label: 'Domain' }, |                     domain: { label: 'Domain' }, | ||||||
|                     created: { label: 'Created' } |                     created: { label: 'Created', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
| 
 | 
 | ||||||
| @ -583,7 +583,7 @@ | |||||||
|                     tags: { label: 'Storage tags' }, |                     tags: { label: 'Storage tags' }, | ||||||
|                     hosttags: { label: 'Host tags' }, |                     hosttags: { label: 'Host tags' }, | ||||||
|                     domain: { label: 'Domain' }, |                     domain: { label: 'Domain' }, | ||||||
|                     created: { label: 'Created' } |                     created: { label: 'Created', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -22,7 +22,7 @@ | |||||||
|             type: { label: 'Type' }, |             type: { label: 'Type' }, | ||||||
|             description: { label: 'Description' }, |             description: { label: 'Description' }, | ||||||
|             username: { label: 'Initiated By' }, |             username: { label: 'Initiated By' }, | ||||||
|             created: { label: 'Date' } |             created: { label: 'Date', converter: cloudStack.converters.toLocalDate } | ||||||
|           }, |           }, | ||||||
|           dataProvider: function(args) {             |           dataProvider: function(args) {             | ||||||
|             $.ajax({ |             $.ajax({ | ||||||
| @ -44,7 +44,7 @@ | |||||||
|                   { |                   { | ||||||
|                     type: { label: 'Type' }, |                     type: { label: 'Type' }, | ||||||
|                     description: { label: 'Description' }, |                     description: { label: 'Description' }, | ||||||
|                     created: { label: 'Date' } |                     created: { label: 'Date', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
|                 dataProvider: function(args) {								   |                 dataProvider: function(args) {								   | ||||||
| @ -61,10 +61,9 @@ | |||||||
|         listView: { |         listView: { | ||||||
|           id: 'alerts', |           id: 'alerts', | ||||||
|           label: 'Alerts', |           label: 'Alerts', | ||||||
|           fields: { |           fields: {             | ||||||
|             type: { label: 'Type' }, |  | ||||||
|             description: { label: 'Description' }, |             description: { label: 'Description' }, | ||||||
|             sent: { label: 'Date' } |             sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } | ||||||
|           }, |           }, | ||||||
|           dataProvider: function(args) { |           dataProvider: function(args) { | ||||||
|             $.ajax({ |             $.ajax({ | ||||||
| @ -84,9 +83,9 @@ | |||||||
|                 title: 'Details', |                 title: 'Details', | ||||||
|                 fields: [ |                 fields: [ | ||||||
|                   { |                   { | ||||||
|                     type: { label: 'Type' }, |                     id: { label: 'ID' }, | ||||||
|                     description: { label: 'Description' }, |                     description: { label: 'Description' }, | ||||||
|                     sent: { label: 'Date' } |                     sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
|                 dataProvider: function(args) {								   |                 dataProvider: function(args) {								   | ||||||
|  | |||||||
| @ -1053,7 +1053,7 @@ | |||||||
|             volumename: { label: 'Volume' }, |             volumename: { label: 'Volume' }, | ||||||
|             state: { label: 'State', indicator: { 'BackedUp': 'on', 'Destroyed': 'off' } }, |             state: { label: 'State', indicator: { 'BackedUp': 'on', 'Destroyed': 'off' } }, | ||||||
|             intervaltype: { label: 'Interval Type' }, |             intervaltype: { label: 'Interval Type' }, | ||||||
|             created: { label: 'Date' } |             created: { label: 'Date', converter: cloudStack.converters.toLocalDate } | ||||||
|           }, |           }, | ||||||
| 
 | 
 | ||||||
|           actions: { |           actions: { | ||||||
|  | |||||||
| @ -2015,7 +2015,7 @@ | |||||||
|                             networkdomain: { label: 'Network domain' }, |                             networkdomain: { label: 'Network domain' }, | ||||||
|                             domain: { label: 'Domain' }, |                             domain: { label: 'Domain' }, | ||||||
|                             account: { label: 'Account' }, |                             account: { label: 'Account' }, | ||||||
|                             created: { label: 'Created' }, |                             created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, | ||||||
|                             isredundantrouter: { |                             isredundantrouter: { | ||||||
|                               label: 'Redundant router', |                               label: 'Redundant router', | ||||||
|                               converter: cloudStack.converters.toBooleanText |                               converter: cloudStack.converters.toBooleanText | ||||||
| @ -4139,7 +4139,7 @@ | |||||||
|                               linklocalip: { label: 'Link local IP' }, |                               linklocalip: { label: 'Link local IP' }, | ||||||
|                               hostname: { label: 'Host' }, |                               hostname: { label: 'Host' }, | ||||||
|                               gateway: { label: 'Gateway' }, |                               gateway: { label: 'Gateway' }, | ||||||
|                               created: { label: 'Created' }, |                               created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, | ||||||
|                               activeviewersessions: { label: 'Active sessions' } |                               activeviewersessions: { label: 'Active sessions' } | ||||||
|                             } |                             } | ||||||
|                           ], |                           ], | ||||||
| @ -5315,7 +5315,7 @@ | |||||||
|                     linklocalip: { label: 'Link local IP' }, |                     linklocalip: { label: 'Link local IP' }, | ||||||
|                     hostname: { label: 'Host' }, |                     hostname: { label: 'Host' }, | ||||||
|                     gateway: { label: 'Gateway' }, |                     gateway: { label: 'Gateway' }, | ||||||
|                     created: { label: 'Created' }, |                     created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, | ||||||
|                     activeviewersessions: { label: 'Active sessions' } |                     activeviewersessions: { label: 'Active sessions' } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
|  | |||||||
| @ -800,7 +800,7 @@ | |||||||
| 
 | 
 | ||||||
|                     domain: { label: 'Domain' }, |                     domain: { label: 'Domain' }, | ||||||
|                     account: { label: 'Account' }, |                     account: { label: 'Account' }, | ||||||
|                     created: { label: 'Created' } |                     created: { label: 'Created', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
| 
 | 
 | ||||||
| @ -1486,7 +1486,7 @@ | |||||||
| 
 | 
 | ||||||
|                     domain: { label: 'Domain' }, |                     domain: { label: 'Domain' }, | ||||||
|                     account: { label: 'Account' }, |                     account: { label: 'Account' }, | ||||||
|                     created: { label: 'Created' } |                     created: { label: 'Created', converter: cloudStack.converters.toLocalDate } | ||||||
|                   } |                   } | ||||||
|                 ], |                 ], | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user