diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 05aa86fd798..77a5d87f261 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -83,7 +83,7 @@
- {{if $.CanWriteIssuesOrPulls}} + {{if and ($.CanWriteIssuesOrPulls) (gt (len .Issues) 0)}} {{end}} {{template "repo/issue/openclose" .}}