aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-27 09:18:11 +1300
committerGitHub <noreply@github.com>2017-09-27 09:18:11 +1300
commit793a9427bb54822e13bf91d6b87ce6821a302b21 (patch)
treee9b5f6648996aa846863ad954cd08b6653782345
parent9f7a04a6bf64554e3d2adccac9698801a0f47296 (diff)
parent5b8306084be0e203801c7e25d4084ef0b56b724c (diff)
downloadetbsa-traccar-web-793a9427bb54822e13bf91d6b87ce6821a302b21.tar.gz
etbsa-traccar-web-793a9427bb54822e13bf91d6b87ce6821a302b21.tar.bz2
etbsa-traccar-web-793a9427bb54822e13bf91d6b87ce6821a302b21.zip
Merge pull request #593 from Abyss777/known_attributes2
Add roaming and steps attributes
-rw-r--r--web/app/store/PositionAttributes.js8
-rw-r--r--web/l10n/en.json2
2 files changed, 10 insertions, 0 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index e457daf..c8feb0a 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 91f5ca7..5abeea6 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",