From: James Moger Date: Wed, 11 Jul 2012 21:08:23 +0000 (-0400) Subject: Show user displayName in footer X-Git-Tag: v1.0.0~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4682d153fff7cae58a62050a91f43f44c0a00491;p=gitblit.git Show user displayName in footer --- diff --git a/src/com/gitblit/wicket/pages/BasePage.java b/src/com/gitblit/wicket/pages/BasePage.java index aadab876..82862ae9 100644 --- a/src/com/gitblit/wicket/pages/BasePage.java +++ b/src/com/gitblit/wicket/pages/BasePage.java @@ -281,7 +281,7 @@ public abstract class BasePage extends WebPage { if (GitBlitWebSession.get().isLoggedIn()) { // username, logout, and change password - add(new Label("username", GitBlitWebSession.get().getUser().toString() + ":")); + add(new Label("username", GitBlitWebSession.get().getUser().getDisplayName() + ":")); add(new LinkPanel("loginLink", null, markupProvider.getString("gb.logout"), LogoutPage.class)); boolean editCredentials = GitBlit.self().supportsCredentialChanges();