diff --git a/gitea/gitea/templates/repo/header.tmpl b/gitea/gitea/templates/repo/header.tmpl index 7a95e52..2ae42a8 100644 --- a/gitea/gitea/templates/repo/header.tmpl +++ b/gitea/gitea/templates/repo/header.tmpl @@ -111,7 +111,7 @@ {{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }} - {{svg "octicon-tag" 16}} {{.i18n.Tr "repo.releases"}} {{.Repository.NumReleases}} + {{svg "octicon-tag" 16}} {{.i18n.Tr "repo.releases"}} {{.NumReleases}} {{end}} @@ -140,4 +140,4 @@ {{end}}
- \ No newline at end of file +