ui: user menu: allow changing language while logged in
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
b03a19b6e8
commit
f8a682a873
@ -236,9 +236,19 @@ Ext.define('PBS.MainView', {
|
||||
iconCls: 'fa fa-user',
|
||||
menu: [
|
||||
{
|
||||
reference: 'logoutButton',
|
||||
iconCls: 'fa fa-language',
|
||||
text: gettext('Language'),
|
||||
reference: 'languageButton',
|
||||
handler: () => Ext.create('Proxmox.window.LanguageEditWindow', {
|
||||
cookieName: 'PBSLangCookie',
|
||||
autoShow: true,
|
||||
}),
|
||||
},
|
||||
'-',
|
||||
{
|
||||
iconCls: 'fa fa-sign-out',
|
||||
text: gettext('Logout'),
|
||||
reference: 'logoutButton',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user