Skip to content

Commit 39c8200

Browse files
committed
fix(project): add title to project view page
1 parent 5a75160 commit 39c8200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/repo/projects.go

Lines changed: 1 addition & 0 deletions
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)