{{template "base/head" .}}
{{template "repo/header" .}}
{{template "repo/issue/navbar" .}}
{{template "repo/issue/search" .}}
{{if and .CanWriteProjects (not .Repository.IsArchived) .PageIsProjects}} {{.i18n.Tr "new_project_board"}} {{end}}

{{$.Project.Title}}

{{$.Project.RenderedContent|Str2html}}
{{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}} {{end}}
{{ range $board := .Boards }}
{{.Title}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived) $.PageIsProjects (ne .ID 0)}} {{ end }}
{{ range .Issues }}
{{if .IsPull}} {{if .PullRequest.HasMerged}} {{svg "octicon-git-merge" 16 "text purple"}} {{else}} {{if .IsClosed}} {{svg "octicon-git-pull-request" 16 "text red"}} {{else}} {{svg "octicon-git-pull-request" 16 "text green"}} {{end}} {{end}} {{else}} {{if .IsClosed}} {{svg "octicon-issue-closed" 16 "text red"}} {{else}} {{svg "octicon-issue-opened" 16 "text green"}} {{end}} {{end}} #{{.Index}} {{.Title}}
{{- if .MilestoneID }} {{- end }} {{- range index $.LinkedPRs .ID }} {{- end }}
{{ range .Labels }} {{.Name | RenderEmoji}} {{ end }}
{{ end }}
{{ end }}
{{if or .CanWriteIssues .CanWritePulls}} {{end}} {{template "base/footer" .}}