{{template "base/head" .}}
{{template "repo/header" .}}
{{template "base/alert" .}} {{if (and .CanCreateRelease (not .PageIsTagList))}} {{.i18n.Tr "repo.release.new_release"}} {{end}} {{if .PageIsTagList}}
{{if gt .ReleasesNum 0}}

{{svg "octicon-tag" 16 "mr-2"}}{{.i18n.Tr "repo.release.tags"}}

{{range $idx, $release := .Releases}} {{end}}

{{.TagName}}

{{end}} {{else}} {{end}} {{template "base/paginate" .}}
{{if (and ($.Permission.CanWrite $.UnitTypeCode) .PageIsTagList)}} {{end}} {{template "base/footer" .}}