diff options
author | James Moger <james.moger@gitblit.com> | 2012-07-11 17:08:23 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-07-11 17:08:23 -0400 |
commit | 4682d153fff7cae58a62050a91f43f44c0a00491 (patch) | |
tree | 33a2de5f8db43e0215033bf70cae693b5db5ac36 | |
parent | ce2a408256dcd81690f812dee95b0797e8880824 (diff) | |
download | gitblit-4682d153fff7cae58a62050a91f43f44c0a00491.tar.gz gitblit-4682d153fff7cae58a62050a91f43f44c0a00491.zip |
Show user displayName in footer
-rw-r--r-- | src/com/gitblit/wicket/pages/BasePage.java | 2 |
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();
|