1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix Activity Page Contributors dropdown (#31264)

Fix #31261
This commit is contained in:
wxiaoguang
2024-06-06 10:28:33 +08:00
committed by GitHub
parent 06ebae7472
commit e728fd741b
4 changed files with 12 additions and 17 deletions

View File

@@ -19,14 +19,8 @@ const (
// Contributors render the page to show repository contributors graph
func Contributors(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.activity.navbar.contributors")
ctx.Data["PageIsActivity"] = true
ctx.Data["PageIsContributors"] = true
ctx.PageData["contributionType"] = "commits"
ctx.PageData["repoLink"] = ctx.Repo.RepoLink
ctx.HTML(http.StatusOK, tplContributors)
}