From 8061447f0e81eddf9bf2de4f8f66d7453a741a0b Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 24 Mar 2015 19:20:36 -0400 Subject: [PATCH] #1114 'New Release' always visible --- templates/repo/release/list.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 79e69b7a9a8..5ac1be35d6d 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -9,11 +9,13 @@ {{.i18n.Tr "repo.release.releases"}} + {{if .IsRepositoryAdmin}} + {{end}}