aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/Users.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/app/view/Users.js b/web/app/view/Users.js
index f4b2733..ba594c4 100644
--- a/web/app/view/Users.js
+++ b/web/app/view/Users.js
@@ -81,6 +81,20 @@ Ext.define('Traccar.view.Users', {
}, {
text: Strings.userAdmin,
dataIndex: 'admin'
+ }, {
+ text: Strings.userDisabled,
+ dataIndex: 'disabled'
+ }, {
+ text: Strings.userExpirationTime,
+ dataIndex: 'expirationTime',
+ hidden: true,
+ renderer: function (value) {
+ if (Traccar.app.getPreference('twelveHourFormat', false)) {
+ return Ext.Date.format(value, Traccar.Style.dateTimeFormat12);
+ } else {
+ return Ext.Date.format(value, Traccar.Style.dateTimeFormat24);
+ }
+ }
}]
}
});