1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-23 04:23:59 +03:00

Fix #35763: Add proper page title for project pages (#35773) (#35909)

Backport #35773 by @mithileshgupta12

Co-authored-by: Mithilesh Gupta <mithileshgupta059@gmail.com>
Co-authored-by: Mithilesh Gupta <guptamithilesh@protonmail.com>
This commit is contained in:
Giteabot
2025-11-10 15:42:14 +08:00
committed by GitHub
parent 2b71bf283b
commit db876d8f17

View File

@@ -436,6 +436,7 @@ func ViewProject(ctx *context.Context) {
ctx.Data["Project"] = project
ctx.Data["IssuesMap"] = issuesMap
ctx.Data["Columns"] = columns
ctx.Data["Title"] = fmt.Sprintf("%s - %s", project.Title, ctx.ContextUser.DisplayName())
if _, err := shared_user.RenderUserOrgHeader(ctx); err != nil {
ctx.ServerError("RenderUserOrgHeader", err)