From 9f7b998c50b304205858973fe542b49b0e705be5 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 1 Aug 2017 11:57:54 +0500 Subject: Implemented attribute to disable reports --- web/app/store/ServerAttributes.js | 4 ++++ web/app/store/UserAttributes.js | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'web/app/store') diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js index 05002f16..7d720836 100644 --- a/web/app/store/ServerAttributes.js +++ b/web/app/store/ServerAttributes.js @@ -47,5 +47,9 @@ Ext.define('Traccar.store.ServerAttributes', { allowDecimals: false, minValue: Traccar.Style.mapDefaultZoom, maxValue: Traccar.Style.mapMaxZoom + }, { + key: 'web.disableReport', + name: Strings.attributeWebDisableReport, + valueType: 'boolean' }] }); diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js index 91a54d04..928a9be8 100644 --- a/web/app/store/UserAttributes.js +++ b/web/app/store/UserAttributes.js @@ -79,5 +79,9 @@ Ext.define('Traccar.store.UserAttributes', { allowDecimals: false, minValue: Traccar.Style.mapDefaultZoom, maxValue: Traccar.Style.mapMaxZoom + }, { + key: 'web.disableReport', + name: Strings.attributeWebDisableReport, + valueType: 'boolean' }] }); -- cgit v1.2.3