From 1edfec60e54b26f3cd7970075b58bb69920b37f7 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 6 Sep 2017 13:28:48 +0500 Subject: Move units to attributes and add volume units --- web/app/store/CommonUserAttributes.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'web/app/store/CommonUserAttributes.js') diff --git a/web/app/store/CommonUserAttributes.js b/web/app/store/CommonUserAttributes.js index d07d955d..d000909d 100644 --- a/web/app/store/CommonUserAttributes.js +++ b/web/app/store/CommonUserAttributes.js @@ -58,5 +58,25 @@ Ext.define('Traccar.store.CommonUserAttributes', { key: 'ui.disableCalendars', name: Strings.attributeUiDisableCalendars, valueType: 'boolean' + }, { + key: 'distanceUnit', + name: Strings.sharedDistance, + valueType: 'string', + dataType: 'distanceUnit' + }, { + key: 'speedUnit', + name: Strings.settingsSpeedUnit, + valueType: 'string', + dataType: 'speedUnit' + }, { + key: 'volumeUnit', + name: Strings.sharedVolumeUnit, + valueType: 'string', + dataType: 'volumeUnit' + }, { + key: 'timezone', + name: Strings.sharedTimezone, + valueType: 'string', + dataType: 'timezone' }] }); -- cgit v1.2.3