diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index e8cb0d8aa..6c337f0ad 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -5,7 +5,7 @@ {{template "base/alert" .}}

{{.i18n.Tr "repo.release.releases"}} - {{if .IsRepositoryWriter}} + {{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
{{.i18n.Tr "repo.release.new_release"}}