From ccca60a5a18c17baa40d7191c9ab6dc75854e25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justin=20Nu=C3=9F?= Date: Tue, 22 Jul 2014 14:20:32 +0200 Subject: [PATCH] Fix issue #288. Only show label form if repository collaborator/admin --- templates/repo/issue/list.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 0fae3eb6636..ffbdcc83790 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -26,6 +26,7 @@ {{end}} + {{if or .IsRepositoryOwner .IsAdmin}} + {{end}} + {{if or .IsRepositoryOwner .IsAdmin}}
@@ -57,6 +60,7 @@
+ {{end}}