diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-23 15:15:37 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-23 15:15:37 +0500 |
commit | f6484e9808f50aa997f028f9421b05aad6aed8bd (patch) | |
tree | 775a0a0bcf6c5b121185011b7d2cdf652eaaf54f /web/app/view/SettingsMenu.js | |
parent | 21bf1014e55ab8049e18ee991c6ee80b23d1789c (diff) | |
download | trackermap-server-f6484e9808f50aa997f028f9421b05aad6aed8bd.tar.gz trackermap-server-f6484e9808f50aa997f028f9421b05aad6aed8bd.tar.bz2 trackermap-server-f6484e9808f50aa997f028f9421b05aad6aed8bd.zip |
- Hid some buttons and menu items from readonly user
- Removed unused variable
Diffstat (limited to 'web/app/view/SettingsMenu.js')
-rw-r--r-- | web/app/view/SettingsMenu.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/web/app/view/SettingsMenu.js b/web/app/view/SettingsMenu.js index 8c230f36f..bf184424c 100644 --- a/web/app/view/SettingsMenu.js +++ b/web/app/view/SettingsMenu.js @@ -32,11 +32,15 @@ Ext.define('Traccar.view.SettingsMenu', { text: Strings.settingsUser, handler: 'onUserClick' }, { + hidden: true, text: Strings.settingsGroups, - handler: 'onGroupsClick' + handler: 'onGroupsClick', + reference: 'settingsGroupsButton' }, { + hidden: true, text: Strings.sharedGeofences, - handler: 'onGeofencesClick' + handler: 'onGeofencesClick', + reference: 'settingsGeofencesButton' }, { text: Strings.settingsServer, hidden: true, @@ -48,8 +52,10 @@ Ext.define('Traccar.view.SettingsMenu', { handler: 'onUsersClick', reference: 'settingsUsersButton' }, { + hidden: true, text: Strings.sharedNotifications, - handler: 'onNotificationsClick' + handler: 'onNotificationsClick', + reference: 'settingsNotificationsButton' }, { text: Strings.loginLogout, handler: 'onLogoutClick' |