Skip to content

Commit

Permalink
fix(project): add title to project view page (#32747)
Browse files Browse the repository at this point in the history
Co-authored-by: wxiaoguang <[email protected]>
  • Loading branch information
metiftikci and wxiaoguang authored Dec 7, 2024
1 parent 5449da7 commit 6bd70d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/web/repo/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bd70d4

Please sign in to comment.