Browse Source

Add proper page title for project pages (#35773)

Fix #35763

Co-authored-by: Mithilesh Gupta <guptamithilesh@protonmail.com>
pull/35915/head
Mithilesh Gupta 1 month ago committed by GitHub
parent
commit
60314cb688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      routers/web/org/projects.go

1
routers/web/org/projects.go

@ -436,6 +436,7 @@ func ViewProject(ctx *context.Context) { @@ -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)

Loading…
Cancel
Save