mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
bug fix release
This commit is contained in:
parent
b316b2e740
commit
7209917fd7
5 changed files with 14 additions and 9 deletions
|
@ -71,6 +71,11 @@ func Releases(ctx *context.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
if len(rawTags) == 0 {
|
||||
ctx.HTML(200, tplReleases)
|
||||
return
|
||||
}
|
||||
|
||||
if len(rawTags) <= (page-1)*limit {
|
||||
ctx.Handle(500, "Releases", errors.New("no more pages"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue