mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 14:53:34 +01:00
fix(project): add title to project view page (#32747)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit 6bd70d4d87262e3bf423aa8a598cfdcf3aae4008)
This commit is contained in:
parent
6f2875d3c6
commit
63faaaeda4
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,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
|
||||
|
|
Loading…
Reference in a new issue