Skip to content

Commit 6bd70d4

Browse files
fix(project): add title to project view page (#32747)
Co-authored-by: wxiaoguang <[email protected]>
1 parent 5449da7 commit 6bd70d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: routers/web/repo/projects.go

+1
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ func ViewProject(ctx *context.Context) {
425425
return
426426
}
427427

428+
ctx.Data["Title"] = project.Title
428429
ctx.Data["IsProjectsPage"] = true
429430
ctx.Data["CanWriteProjects"] = ctx.Repo.Permission.CanWrite(unit.TypeProjects)
430431
ctx.Data["Project"] = project

0 commit comments

Comments
 (0)