{{template "repo/issue/navbar" .}}
{{if and .CanWriteProjects (not .Repository.IsArchived)}}
{{.i18n.Tr "repo.issues.new"}}
{{.i18n.Tr "new_project_board"}}
{{end}}
{{$.i18n.Tr "repo.projects.board.new"}}
{{$.Project.Title}}
{{$.Project.RenderedContent|Str2html}}
{{ range $board := .Boards }}
{{ end }}
{{ end }}
{{.Title}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived) (ne .ID 0)}}
{{svg "octicon-kebab-horizontal"}}
{{ range .Issues }}
{{if .Labels}}
{{ end }}
{{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}}
{{.Title}}
{{- if .MilestoneID }}
{{- end }}
{{- range index $.LinkedPRs .ID }}
{{- end }}
{{ range .Labels }}
{{.Name | RenderEmoji}}
{{ end }}
{{end}}