aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/model/Statistics.js14
-rw-r--r--web/app/view/Statistics.js14
2 files changed, 26 insertions, 2 deletions
diff --git a/web/app/model/Statistics.js b/web/app/model/Statistics.js
index cc7ffc59..95280ac4 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 4322525b..d5176a37 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'
}]
}
});