From 612d0d6d2592c3e34abde42ef254860a0cbc3ce0 Mon Sep 17 00:00:00 2001
From: Unknwon
Date: Sun, 15 Nov 2015 23:59:39 -0500
Subject: [PATCH] minor HTML fix
---
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 5fb23bdacb..32be1ce022 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -37,7 +37,7 @@
{{if .PublisherID}}
{{.Title}}
- ({{$.i18n.Tr "repo.release.edit"}})
+ {{if .IsRepositoryAdmin}}({{$.i18n.Tr "repo.release.edit"}}){{end}}