diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-29 16:18:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-29 16:18:45 +1200 |
commit | 6f794a2c96951cdd8d00ed01bf6bd47b2a74f2f3 (patch) | |
tree | 886b60502c4168aea58332c8be7fc4ce0c0d65e5 | |
parent | 5f33c4b30cb62d68e87bfab6d4ec6c38fbd7b0fa (diff) | |
download | etbsa-traccar-web-6f794a2c96951cdd8d00ed01bf6bd47b2a74f2f3.tar.gz etbsa-traccar-web-6f794a2c96951cdd8d00ed01bf6bd47b2a74f2f3.tar.bz2 etbsa-traccar-web-6f794a2c96951cdd8d00ed01bf6bd47b2a74f2f3.zip |
Show additional statistics info
-rw-r--r-- | web/app/model/Statistics.js | 14 | ||||
-rw-r--r-- | web/app/view/Statistics.js | 14 | ||||
-rw-r--r-- | web/l10n/en.json | 2 |
3 files changed, 28 insertions, 2 deletions
diff --git a/web/app/model/Statistics.js b/web/app/model/Statistics.js index cc7ffc5..95280ac 100644 --- a/web/app/model/Statistics.js +++ b/web/app/model/Statistics.js @@ -1,5 +1,5 @@ /* - * Copyright 2016 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,6 +42,18 @@ Ext.define('Traccar.model.Statistics', { name: 'messagesStored', type: 'int' }, { + name: 'mailSent', + type: 'int' + }, { + name: 'smsSent', + type: 'int' + }, { + name: 'geocoderRequests', + type: 'int' + }, { + name: 'geolocationRequests', + type: 'int' + }, { name: 'attributes' }] }); diff --git a/web/app/view/Statistics.js b/web/app/view/Statistics.js index 4322525..d5176a3 100644 --- a/web/app/view/Statistics.js +++ b/web/app/view/Statistics.js @@ -1,5 +1,5 @@ /* - * Copyright 2016 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,18 @@ Ext.define('Traccar.view.Statistics', { }, { text: Strings.statisticsMessagesStored, dataIndex: 'messagesStored' + }, { + text: Strings.notificationMail, + dataIndex: 'mailSent' + }, { + text: Strings.notificationSms, + dataIndex: 'smsSent' + }, { + text: Strings.statisticsGeocoder, + dataIndex: 'geocoderRequests' + }, { + text: Strings.statisticsGeolocation, + dataIndex: 'geolocationRequests' }] } }); diff --git a/web/l10n/en.json b/web/l10n/en.json index 3520507..fcd0e84 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -276,6 +276,8 @@ "statisticsRequests": "Requests", "statisticsMessagesReceived": "Messages Received", "statisticsMessagesStored": "Messages Stored", + "statisticsGeocoder": "Geocoder Requests", + "statisticsGeolocation": "Geolocation Requests", "categoryArrow": "Arrow", "categoryDefault": "Default", "categoryCar": "Car", |