1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-05 18:05:19 +02:00
This commit is contained in:
Unknown 2014-03-19 13:24:46 -04:00
parent 757f360949
commit 601c10309d
4 changed files with 5 additions and 2 deletions

View file

@ -188,6 +188,7 @@ func Commits(ctx *middleware.Context, params martini.Params) {
}
ctx.Data["Username"] = params["username"]
ctx.Data["Reponame"] = params["reponame"]
ctx.Data["CommitCount"] = commits.Len()
ctx.Data["Commits"] = commits
ctx.HTML(200, "repo/commits", ctx.Data)
}