comparison app/view/Viewport.js @ 1143:52b2c1d1ca53

fix display of username in filter panel
author Michael Stanko <mstanko@bfs.de>
date Fri, 27 May 2016 11:09:02 +0200
parents af9879d72310
children
comparison
equal deleted inserted replaced
1129:6f5549e50607 1143:52b2c1d1ca53
33 align: 'stretch' 33 align: 'stretch'
34 }, 34 },
35 region: 'west', 35 region: 'west',
36 split: true, 36 split: true,
37 flex: 1, 37 flex: 1,
38 collapsible: true,
39 collapsed: false,
38 dockedItems: [{ 40 dockedItems: [{
39 xtype: 'toolbar', 41 xtype: 'toolbar',
40 dock: 'top', 42 dock: 'top',
41 items: [{ 43 items: [{
42 xtype: 'splitbutton', 44 xtype: 'splitbutton',
43 text: 'Info', 45 text: 'Info',
44 menu: { 46 menu: {
45 items: [{ 47 items: [{
46 text: i18n.getMsg('about.button.title'), 48 text: i18n.getMsg('about.button.title'),
47 action: 'about' 49 action: 'about'
48 } 50 }]
49 ]
50 } 51 }
51 }, '->', { 52 }, '->', {
52 xtype: 'tbtext', 53 xtype: 'tbtext',
53 id: 'userinfo', 54 id: 'userinfo',
54 text: '' 55 text: 'User: ' + Lada.username
55 }, {
56 xtype: 'tbtext',
57 id: 'groupinfo',
58 text: ''
59 }] 56 }]
60 }], 57 }],
61 items: [{ 58 items: [{
62 xtype: 'modeswitcher', 59 xtype: 'modeswitcher',
63 margin: '0, 10, 0, 10' 60 margin: '0, 10, 0, 10'

http://lada.wald.intevation.org