aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/Users.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-19 11:34:01 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-19 16:09:43 +0500
commitb2b9e4cb213023697566885340d2ff7b5a44db8b (patch)
treeacd73e2c5ccd3eda062b0228873d2239e2d988fd /web/app/view/edit/Users.js
parentf3ce72afbd49ccde94178158147de7b378128a55 (diff)
downloadtrackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.gz
trackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.bz2
trackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.zip
- Added columns filters to most windows
- Added more columns to UserDevices and UserGroups - Change openlayers version to 4.2.0
Diffstat (limited to 'web/app/view/edit/Users.js')
-rw-r--r--web/app/view/edit/Users.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/web/app/view/edit/Users.js b/web/app/view/edit/Users.js
index 4356b166..0aafb3dd 100644
--- a/web/app/view/edit/Users.js
+++ b/web/app/view/edit/Users.js
@@ -96,30 +96,36 @@ Ext.define('Traccar.view.edit.Users', {
},
items: [{
text: Strings.sharedName,
- dataIndex: 'name'
+ dataIndex: 'name',
+ filter: 'string'
}, {
text: Strings.userEmail,
dataIndex: 'email',
filter: 'string'
}, {
text: Strings.userAdmin,
- dataIndex: 'admin'
+ dataIndex: 'admin',
+ filter: 'boolean'
}, {
text: Strings.serverReadonly,
dataIndex: 'readonly',
- hidden: true
+ hidden: true,
+ filter: 'boolean'
}, {
text: Strings.userDeviceReadonly,
dataIndex: 'deviceReadonly',
- hidden: true
+ hidden: true,
+ filter: 'boolean'
}, {
text: Strings.userDisabled,
- dataIndex: 'disabled'
+ dataIndex: 'disabled',
+ filter: 'boolean'
}, {
text: Strings.userExpirationTime,
dataIndex: 'expirationTime',
hidden: true,
- renderer: Traccar.AttributeFormatter.getFormatter('expirationTime')
+ renderer: Traccar.AttributeFormatter.getFormatter('expirationTime'),
+ filter: 'date'
}]
}
});