{{template "base/head" .}} {{template "base/navbar" .}} {{template "repo/nav" .}} {{template "repo/toolbar" .}}
#{{.Issue.Index}}

{{.Issue.Name}}

{{if .IsIssueOwner}}Edit {{end}} {{if .Issue.IsClosed}}Closed{{else}}Open{{end}} {{.Issue.Poster.Name}} opened this issue {{TimeSince .Issue.Created}} ยท {{.Issue.NumComments}} comments

{{str2html .Issue.RenderedContent}}
{{range .Comments}} {{/* 0 = COMMENT, 1 = REOPEN, 2 = CLOSE, 3 = ISSUE, 4 = COMMIT, 5 = PULL */}} {{if eq .Type 0}}
{{.Poster.Name}} commented {{TimeSince .Created}} Owner
{{str2html .Content}}
{{else if eq .Type 1}}
{{.Poster.Name}} Reopened this issue {{TimeSince .Created}}
{{else if eq .Type 2}}
{{.Poster.Name}} Closed this issue {{TimeSince .Created}}
{{else if eq .Type 4}}
{{.Poster.Name}} Referenced this issue {{TimeSince .Created}}

{{.ContentHtml}}

{{end}} {{end}}
{{if .SignedUser}}
{{.CsrfTokenHtml}}
Content with Markdown
Loading...
{{if .IsIssueOwner}}{{if .Issue.IsClosed}} {{else}} {{end}}{{end}}  
{{else}}
Sign up for free to join this conversation. Already have an account? Sign in to comment
{{end}}
{{if .IsRepositoryOwner}}
{{end}}

Labels

{{if .Issue.Labels}} {{range .Issue.Labels}}

{{.Name}}

{{end}} {{else}}

None yet

{{end}}
{{if .IsRepositoryOwner}} {{end}}

Milestone

{{if .Milestone}}

 

{{.Milestone.Name}}

{{else}}

No milestone

{{end}}
{{if .IsRepositoryOwner}}
{{end}}

Assignee

{{if .Issue.Assignee}}{{.Issue.Assignee.Name}}{{else}}No one assigned{{end}}

{{template "base/footer" .}}