{{template "repo/header" .}}
{{template "repo/issue/navbar" .}}
{{template "repo/issue/search" .}}
{{if not .Repository.IsArchived}}
{{if .PageIsIssueList}} {{.locale.Tr "repo.issues.new"}} {{else}} {{.locale.Tr "repo.pulls.new"}} {{end}}
{{else}} {{if not .PageIsIssueList}} {{end}} {{end}}
{{if $.CanWriteIssuesOrPulls}}
{{end}} {{template "repo/issue/openclose" .}}
{{template "repo/issue/openclose" .}}
{{/* Ten wide does not cope well and makes the columns stack. This seems to be related to jQuery's hide/show: in fact, switching issue-actions and issue-filters and having this ten wide will show this one correctly, but not the other one. */}}
{{end}}
{{template "shared/issuelist" mergeinto . "listType" "repo"}}