mirror of https://github.com/go-gitea/gitea.git
readd 'dashboard' to title
This commit is contained in:
parent
3bd7d3b1c5
commit
792c13cf0a
|
@ -84,7 +84,7 @@ func retrieveFeeds(ctx *middleware.Context, ctxUserID, userID, offset int64, isP
|
||||||
|
|
||||||
func Dashboard(ctx *middleware.Context) {
|
func Dashboard(ctx *middleware.Context) {
|
||||||
ctxUser := getDashboardContextUser(ctx)
|
ctxUser := getDashboardContextUser(ctx)
|
||||||
ctx.Data["Title"] = ctxUser.DisplayName()
|
ctx.Data["Title"] = ctxUser.DisplayName() + " - " + ctx.Tr("dashboard")
|
||||||
ctx.Data["PageIsDashboard"] = true
|
ctx.Data["PageIsDashboard"] = true
|
||||||
ctx.Data["PageIsNews"] = true
|
ctx.Data["PageIsNews"] = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue