diff options
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/home.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index fa8c1364ba..0e633a9e59 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.Tr("dashboard") ctx.Data["PageIsDashboard"] = true ctx.Data["PageIsNews"] = true - ctxUser := getDashboardContextUser(ctx) if ctx.Written() { return } |