{{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}}{{svg "octicon-git-merge"}} {{else if .IsClosed}}{{svg "octicon-issue-closed"}} {{else}}{{svg "octicon-issue-opened"}} {{end}} #{{.Index}} {{.Title}}
{{ range .Labels }} {{.Name}} {{ end }}
{{ end }}
{{ end }}
{{if or .CanWriteIssues .CanWritePulls}} {{end}} {{template "base/footer" .}}