diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-27 09:18:11 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 09:18:11 +1300 |
commit | 793a9427bb54822e13bf91d6b87ce6821a302b21 (patch) | |
tree | e9b5f6648996aa846863ad954cd08b6653782345 /web | |
parent | 9f7a04a6bf64554e3d2adccac9698801a0f47296 (diff) | |
parent | 5b8306084be0e203801c7e25d4084ef0b56b724c (diff) | |
download | trackermap-web-793a9427bb54822e13bf91d6b87ce6821a302b21.tar.gz trackermap-web-793a9427bb54822e13bf91d6b87ce6821a302b21.tar.bz2 trackermap-web-793a9427bb54822e13bf91d6b87ce6821a302b21.zip |
Merge pull request #593 from Abyss777/known_attributes2
Add roaming and steps attributes
Diffstat (limited to 'web')
-rw-r--r-- | web/app/store/PositionAttributes.js | 8 | ||||
-rw-r--r-- | web/l10n/en.json | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js index e457dafc..c8feb0a5 100644 --- a/web/app/store/PositionAttributes.js +++ b/web/app/store/PositionAttributes.js @@ -57,6 +57,10 @@ Ext.define('Traccar.store.PositionAttributes', { name: Strings.positionGps, valueType: 'number' }, { + key: 'roaming', + name: Strings.positionRoaming, + valueType: 'boolean' + }, { key: 'event', name: Strings.positionEvent, valueType: 'string' @@ -88,6 +92,10 @@ Ext.define('Traccar.store.PositionAttributes', { name: Strings.positionHours, valueType: 'string' }, { + key: 'steps', + name: Strings.positionSteps, + valueType: 'number' + }, { key: 'input', name: Strings.positionInput, valueType: 'string' diff --git a/web/l10n/en.json b/web/l10n/en.json index 91f5ca7f..5abeea67 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -181,6 +181,7 @@ "positionSatVisible": "Visible Satellites", "positionRssi": "RSSI", "positionGps": "GPS", + "positionRoaming": "Roaming", "positionEvent": "Event", "positionAlarm": "Alarm", "positionStatus": "Status", @@ -188,6 +189,7 @@ "positionServiceOdometer": "Service Odometer", "positionTripOdometer": "Trip Odometer", "positionHours": "Hours", + "positionSteps": "Steps", "positionInput": "Input", "positionOutput": "Output", "positionBatteryLevel": "Battery Level", |