From 39c820047773a661c9229ca7bbd473c02eeecf22 Mon Sep 17 00:00:00 2001
From: metiftikci <metiftikci@hotmail.com>
Date: Fri, 6 Dec 2024 20:19:36 +0000
Subject: [PATCH] fix(project): add title to project view page

---
 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 799ce3ad804c3..95ae84ab93092 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