aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/model/Statistics.js14
-rw-r--r--web/app/view/Statistics.js14
-rw-r--r--web/l10n/en.json2
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",