]> source.dussan.org Git - gitblit.git/commitdiff
Show user displayName in footer
authorJames Moger <james.moger@gitblit.com>
Wed, 11 Jul 2012 21:08:23 +0000 (17:08 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 11 Jul 2012 21:08:23 +0000 (17:08 -0400)
src/com/gitblit/wicket/pages/BasePage.java

index aadab876a4c9f5f8351797504fd4f76895502575..82862ae927c72178523ee9a46a55a33b2bc1473e 100644 (file)
@@ -281,7 +281,7 @@ public abstract class BasePage extends WebPage {
 \r
                        if (GitBlitWebSession.get().isLoggedIn()) {\r
                                // username, logout, and change password\r
-                               add(new Label("username", GitBlitWebSession.get().getUser().toString() + ":"));\r
+                               add(new Label("username", GitBlitWebSession.get().getUser().getDisplayName() + ":"));\r
                                add(new LinkPanel("loginLink", null, markupProvider.getString("gb.logout"),\r
                                                LogoutPage.class));\r
                                boolean editCredentials = GitBlit.self().supportsCredentialChanges();\r