summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-07-11 17:08:23 -0400
committerJames Moger <james.moger@gitblit.com>2012-07-11 17:08:23 -0400
commit4682d153fff7cae58a62050a91f43f44c0a00491 (patch)
tree33a2de5f8db43e0215033bf70cae693b5db5ac36
parentce2a408256dcd81690f812dee95b0797e8880824 (diff)
downloadgitblit-4682d153fff7cae58a62050a91f43f44c0a00491.tar.gz
gitblit-4682d153fff7cae58a62050a91f43f44c0a00491.zip
Show user displayName in footer
-rw-r--r--src/com/gitblit/wicket/pages/BasePage.java2
1 files changed, 1 insertions, 1 deletions
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();