aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/user/home.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index f3f7fa4a4d..ffebe28489 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -83,11 +83,11 @@ func retrieveFeeds(ctx *middleware.Context, ctxUserID, userID, offset int64, isP
}
func Dashboard(ctx *middleware.Context) {
- ctx.Data["Title"] = ctx.Tr("dashboard")
+ ctxUser := getDashboardContextUser(ctx)
+ ctx.Data["Title"] = ctxUser.DisplayName()
ctx.Data["PageIsDashboard"] = true
ctx.Data["PageIsNews"] = true
- ctxUser := getDashboardContextUser(ctx)
if ctx.Written() {
return
}