From 7d80c5a7223d793a8ee73aa8ba7928e5b68176c0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 23 Feb 2017 13:09:26 -0500 Subject: [PATCH] mirror: does not allow create releases --- templates/repo/release/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}}