{{if not .OriginalAuthor}}
{{avatar $.Context .Poster}}
{{end}}
{{if .OriginalAuthor}}
{{svg (MigrationIcon $.Repository.GetOriginalURLHostname)}}
{{.OriginalAuthor}}
{{if $.Repository.OriginalURL}}
({{$.locale.Tr "repo.migrated_from" ($.Repository.OriginalURL|Escape) ($.Repository.GetOriginalURLHostname|Escape) | Safe}}){{end}}
{{else}}
{{template "shared/user/authorlink" .Poster}}
{{end}}
{{$.locale.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdSubStr | Safe}}
{{if (.ShowRole.HasRole "Poster")}}
{{$.locale.Tr "repo.issues.poster"}}
{{end}}
{{if (.ShowRole.HasRole "Writer")}}
{{$.locale.Tr "repo.issues.collaborator"}}
{{end}}
{{if (.ShowRole.HasRole "Owner")}}
{{$.locale.Tr "repo.issues.owner"}}
{{end}}
{{if not $.Repository.IsArchived}}
{{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))}}
{{end}}
{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}
{{$.locale.Tr "repo.issues.no_content"}}
{{end}}
{{.Content}}
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID) "Reactions" $reactions}}
{{end}}