From 34c878d014a065981d56859cb73564bfa2bc478e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 13 Jan 2017 09:26:24 +0500 Subject: Initial manager implementation --- web/app/view/UserDialog.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'web/app/view/UserDialog.js') diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 02e7b2f..8ab3f6b 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 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 @@ -138,6 +138,12 @@ Ext.define('Traccar.view.UserDialog', { fieldLabel: Strings.userDeviceLimit, disabled: true, reference: 'deviceLimitField' + }, { + xtype: 'numberfield', + name: 'userLimit', + fieldLabel: Strings.userUserLimit, + disabled: true, + reference: 'userLimitField' }, { xtype: 'textfield', name: 'token', @@ -153,6 +159,10 @@ Ext.define('Traccar.view.UserDialog', { }] }, + listeners: { + show: 'onShow' + }, + buttons: [{ text: Strings.sharedAttributes, handler: 'showAttributesView' -- cgit v1.2.3