[Lada-commits] [PATCH] fix display of username in filter panel

Wald Commits scm-commit at wald.intevation.org
Fri May 27 11:09:07 CEST 2016


# HG changeset patch
# User Michael Stanko <mstanko at bfs.de>
# Date 1464340142 -7200
# Node ID 52b2c1d1ca532a34d11c55161d37b7a9f191ce35
# Parent  6f5549e5060752a9de17a04a0c969a18a43e7eb7
fix display of username in filter panel

diff -r 6f5549e50607 -r 52b2c1d1ca53 app/view/Viewport.js
--- a/app/view/Viewport.js	Tue May 24 15:55:05 2016 +0200
+++ b/app/view/Viewport.js	Fri May 27 11:09:02 2016 +0200
@@ -35,6 +35,8 @@
                 region: 'west',
                 split: true,
                 flex: 1,
+                collapsible: true,
+                collapsed: false,
                 dockedItems: [{
                     xtype: 'toolbar',
                     dock: 'top',
@@ -45,17 +47,12 @@
                             items: [{
                                 text: i18n.getMsg('about.button.title'),
                                 action: 'about'
-                            }
-                            ]
+                            }]
                         }
                     }, '->', {
                         xtype: 'tbtext',
                         id: 'userinfo',
-                        text: ''
-                    }, {
-                        xtype: 'tbtext',
-                        id: 'groupinfo',
-                        text: ''
+                        text: 'User: ' + Lada.username
                     }]
                 }],
                 items: [{


More information about the Lada-commits mailing list