aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-11 15:03:39 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-11 17:22:15 +0500
commita2b7e07df1cc4548e27c51e1545cf210b0ef0ab7 (patch)
tree61f7ef413962fee8b2c20fafc29ef3e872273ad3 /web/app/store
parent9a536a3ef3b8972c64de2de76a340115ab036d3f (diff)
downloadetbsa-traccar-web-a2b7e07df1cc4548e27c51e1545cf210b0ef0ab7.tar.gz
etbsa-traccar-web-a2b7e07df1cc4548e27c51e1545cf210b0ef0ab7.tar.bz2
etbsa-traccar-web-a2b7e07df1cc4548e27c51e1545cf210b0ef0ab7.zip
Implement attribute to disable vehicle related UI features
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/ServerAttributes.js4
-rw-r--r--web/app/store/UserAttributes.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/web/app/store/ServerAttributes.js b/web/app/store/ServerAttributes.js
index 89a0137..438ca3e 100644
--- a/web/app/store/ServerAttributes.js
+++ b/web/app/store/ServerAttributes.js
@@ -51,5 +51,9 @@ Ext.define('Traccar.store.ServerAttributes', {
key: 'ui.disableReport',
name: Strings.attributeUiDisableReport,
valueType: 'boolean'
+ }, {
+ key: 'ui.disableVehicleFetures',
+ name: Strings.attributeUiDisableVehicleFetures,
+ valueType: 'boolean'
}]
});
diff --git a/web/app/store/UserAttributes.js b/web/app/store/UserAttributes.js
index 6cf06fb..8e1acfb 100644
--- a/web/app/store/UserAttributes.js
+++ b/web/app/store/UserAttributes.js
@@ -83,5 +83,9 @@ Ext.define('Traccar.store.UserAttributes', {
key: 'ui.disableReport',
name: Strings.attributeUiDisableReport,
valueType: 'boolean'
+ }, {
+ key: 'ui.disableVehicleFetures',
+ name: Strings.attributeUiDisableVehicleFetures,
+ valueType: 'boolean'
}]
});