{{if not .OriginalAuthor }}
{{avatar .Poster}}
{{end}}
{{if .OriginalAuthor }}
{{svg (MigrationIcon $.Repository.GetOriginalURLHostname)}}
{{ .OriginalAuthor }}
{{if $.Repository.OriginalURL}}
({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}
{{else}}
{{.Poster.GetDisplayName}}
{{end}}
{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}}
{{if (.ShowRole.HasRole "Poster")}}
{{$.i18n.Tr "repo.issues.poster"}}
{{end}}
{{if (.ShowRole.HasRole "Writer")}}
{{$.i18n.Tr "repo.issues.collaborator"}}
{{end}}
{{if (.ShowRole.HasRole "Owner")}}
{{$.i18n.Tr "repo.issues.owner"}}
{{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 "issue" true "diff" true "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}}
{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}
{{$.i18n.Tr "repo.issues.no_content"}}
{{end}}
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions}}
{{end}}