{{if .Flash}}
{{template "base/alert" .}}
{{end}}

#{{.Issue.Index}} {{.Issue.Name}}

{{if .Issue.IsClosed}}
{{.i18n.Tr "repo.issues.closed_title"}}
{{else}}
{{.i18n.Tr "repo.issues.open_title"}}
{{end}} {{ $createdStr:= TimeSince .Issue.Created $.Lang }} {{$.i18n.Tr "repo.issues.opened_by" $createdStr .Issue.Poster.Name|Str2html}} ยท {{$.i18n.Tr "repo.issues.num_comments" .Issue.NumComments}}
{{.Issue.Poster.Name}} {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}
{{if .Issue.RenderedContent}} {{.Issue.RenderedContent|Str2html}} {{else}} {{.i18n.Tr "repo.issues.no_content"}} {{end}}
{{if .Issue.Attachments}}
{{range .Issue.Attachments}} {{end}}
{{end}}
{{template "repo/issue/comment_tab" .}}
{{.i18n.Tr "repo.issues.close_issue"}}
{{.i18n.Tr "repo.issues.create_comment"}}
{{if not .Issue.Labels}} {{.i18n.Tr "repo.issues.new.no_label"}} {{else}} {{range .Issue.Labels}} {{.Name}} {{end}} {{end}}
{{.i18n.Tr "repo.issues.new.no_milestone"}}
{{if .Issue.Milestone}} {{.Issue.Milestone.Name}} {{end}}
{{.i18n.Tr "repo.issues.new.no_assignee"}}
{{if .Issue.Assignee}} {{.Issue.Assignee.Name}} {{end}}