diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 05aa86fd7..77a5d87f2 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" .}}