{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}
{{$.i18n.Tr "repo.issues.no_content"}}
{{end}}
{{if .OriginalAuthor }}
{{ .OriginalAuthor }} {{$.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} {{if $.Repository.OriginalURL}}({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}
{{else}}
{{.Poster.GetDisplayName}} {{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}
{{end}}
{{if not $.Repository.IsArchived}}
{{if eq .PosterID .Issue.PosterID }}
{{$.i18n.Tr "repo.issues.poster"}}
{{end}}
{{if gt .ShowTag 0}}
{{if eq .ShowTag 2}}
{{$.i18n.Tr "repo.issues.collaborator"}}
{{else if eq .ShowTag 3}}
{{$.i18n.Tr "repo.issues.owner"}}
{{end}}
{{end}}
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}}
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "diff" false "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}}
{{end}}
{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}
{{$.i18n.Tr "repo.issues.no_content"}}
{{end}}
{{if .Attachments}}
{{end}}
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions}}
{{end}}