From 6bd70d4d87262e3bf423aa8a598cfdcf3aae4008 Mon Sep 17 00:00:00 2001 From: metiftikci Date: Sat, 7 Dec 2024 07:44:33 +0300 Subject: [PATCH] fix(project): add title to project view page (#32747) Co-authored-by: wxiaoguang --- routers/web/repo/projects.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go index 799ce3ad80..95ae84ab93 100644 --- a/routers/web/repo/projects.go +++ b/routers/web/repo/projects.go @@ -425,6 +425,7 @@ func ViewProject(ctx *context.Context) { return } + ctx.Data["Title"] = project.Title ctx.Data["IsProjectsPage"] = true ctx.Data["CanWriteProjects"] = ctx.Repo.Permission.CanWrite(unit.TypeProjects) ctx.Data["Project"] = project