Skip to content

Commit 43a30b6

Browse files
author
Mithilesh Gupta
committed
Fix #35763: Add proper page title for project pages
1 parent 3ab8ae5 commit 43a30b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/org/projects.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ func ViewProject(ctx *context.Context) {
436436
ctx.Data["Project"] = project
437437
ctx.Data["IssuesMap"] = issuesMap
438438
ctx.Data["Columns"] = columns
439+
ctx.Data["Title"] = fmt.Sprintf("%s - %s", project.Title, ctx.ContextUser.DisplayName())
439440

440441
if _, err := shared_user.RenderUserOrgHeader(ctx); err != nil {
441442
ctx.ServerError("RenderUserOrgHeader", err)

0 commit comments

Comments
 (0)