{{if .Flash}}
{{template "base/alert" .}}
{{end}} {{if not .Issue.IsPull}} {{template "repo/issue/view_title" .}} {{end}} {{ $createdStr:= TimeSince .Issue.Created $.Lang }}
{{.Issue.Poster.Name}} {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}
{{if .IsIssueOwner}}
{{end}}
{{if .Issue.RenderedContent}} {{.Issue.RenderedContent|Str2html}} {{else}} {{.i18n.Tr "repo.issues.no_content"}} {{end}}
{{.Issue.Content}}
{{if .Issue.Attachments}}
{{range .Issue.Attachments}} {{if FilenameIsImage .Name}} {{else}} {{end}} {{end}}
{{end}}
{{ template "repo/issue/view_content/comments" . }} {{if .Issue.IsPull}} {{ template "repo/issue/view_content/pull". }} {{end}} {{if .IsSigned}}
{{template "repo/issue/comment_tab" .}} {{.CsrfTokenHtml}}
{{if and .IsIssueOwner (not .DisableStatusChange)}} {{if .Issue.IsClosed}}
{{.i18n.Tr "repo.issues.reopen_issue"}}
{{else}}
{{.i18n.Tr "repo.issues.close_issue"}}
{{end}} {{end}}
{{else}}
{{.i18n.Tr "repo.issues.sign_in_require_desc" .SignInLink | Safe}}
{{end}}
{{ template "repo/issue/view_content/sidebar" . }}
{{$.i18n.Tr "repo.release.loading"}}
{{.i18n.Tr "repo.issues.cancel"}}
{{.i18n.Tr "repo.issues.save"}}
{{.i18n.Tr "repo.issues.no_content"}}