mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix tags header and pretty format numbers (#25624)
This caused by #23465
This commit is contained in:
@@ -203,6 +203,7 @@ func releasesOrTags(ctx *context.Context, isTagList bool) {
|
||||
ctx.Data["Page"] = pager
|
||||
|
||||
if isTagList {
|
||||
ctx.Data["PageIsViewCode"] = !ctx.Repo.Repository.UnitEnabled(ctx, unit.TypeReleases)
|
||||
ctx.HTML(http.StatusOK, tplTagsList)
|
||||
} else {
|
||||
ctx.HTML(http.StatusOK, tplReleasesList)
|
||||
|
Reference in New Issue
Block a user