{{template "base/alert" .}}
{{if .PinnedIssues}}
{{range .PinnedIssues}}
{{end}}
{{template "repo/issue/card" (dict "Issue" . "Page" $ "isPinnedIssueCard" true)}}
{{end}}
{{template "repo/issue/navbar" .}}
{{template "repo/issue/search" .}}
{{if not .Repository.IsArchived}}
{{if .PageIsIssueList}}
{{ctx.Locale.Tr "repo.issues.new"}}
{{else}}
{{ctx.Locale.Tr "repo.pulls.new"}}
{{end}}
{{else}}
{{if not .PageIsIssueList}}
{{ctx.Locale.Tr "action.compare_commits_general"}}
{{end}}
{{end}}
{{template "repo/issue/filters" .}}
{{template "shared/issuelist" dict "." . "listType" "repo"}}