mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 23:54:29 +00:00
parent
02a881aa32
commit
45a324b437
@ -158,7 +158,7 @@ func Releases(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pager := paginater.New(ctx.Repo.Repository.NumTags, limit, page, 5)
|
pager := paginater.New(len(rawTags), limit, page, 5)
|
||||||
ctx.Data["Page"] = pager
|
ctx.Data["Page"] = pager
|
||||||
ctx.Data["Releases"] = releaseTags
|
ctx.Data["Releases"] = releaseTags
|
||||||
ctx.HTML(200, tplReleases)
|
ctx.HTML(200, tplReleases)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user