diff options
author | Alec S <linuxbash8@gmail.com> | 2016-03-09 20:46:36 -0600 |
---|---|---|
committer | Alec S <linuxbash8@gmail.com> | 2016-03-09 20:46:36 -0600 |
commit | 6775ac7334c7a5a451a309a6e3dc1c85dbf04f6b (patch) | |
tree | 222ad2156a7d745afc8f5bcc3363b97c9df53cf5 /routers/user/home.go | |
parent | ad513a20e939691828ba415c9a565e8ff3daa95f (diff) | |
download | gitea-6775ac7334c7a5a451a309a6e3dc1c85dbf04f6b.tar.gz gitea-6775ac7334c7a5a451a309a6e3dc1c85dbf04f6b.zip |
change page titles for user and org dashes
Diffstat (limited to 'routers/user/home.go')
-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 } |