{{if and ($.CanWriteIssuesOrPulls) (gt (len .Issues) 0)}} {{end}} {{template "repo/issue/openclose" .}}