{{range .comments}} {{$createdStr:= TimeSinceUnix .CreatedUnix $.root.locale}}
{{if .OriginalAuthor}} {{else}} {{template "shared/user/avatarlink" dict "Context" $.root.Context "user" .Poster}} {{end}}
{{if .OriginalAuthor}} {{svg (MigrationIcon $.root.Repository.GetOriginalURLHostname)}} {{.OriginalAuthor}} {{$.root.locale.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdStr | Safe}} {{if $.root.Repository.OriginalURL}} ({{$.root.locale.Tr "repo.migrated_from" ($.root.Repository.OriginalURL | Escape) ($.root.Repository.GetOriginalURLHostname | Escape) | Safe}}) {{end}} {{else}} {{template "shared/user/namelink" .Poster}} {{$.root.locale.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdStr | Safe}} {{end}}
{{if .Invalidated}} {{$referenceUrl := printf "%s#%s" $.root.Issue.Link .HashTag}} {{$.root.locale.Tr "repo.issues.review.outdated"}} {{end}} {{if and .Review}} {{if eq .Review.Type 0}}
{{$.root.locale.Tr "repo.issues.review.pending"}}
{{else}}
{{$.root.locale.Tr "repo.issues.review.review"}}
{{end}} {{end}} {{template "repo/issue/view_content/add_reaction" dict "ctxData" $.root "ActionURL" (printf "%s/comments/%d/reactions" $.root.RepoLink .ID)}} {{template "repo/issue/view_content/context_menu" dict "ctxData" $.root "item" . "delete" true "issue" false "diff" true "IsCommentPoster" (and $.root.IsSigned (eq $.root.SignedUserID .PosterID))}}
{{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} {{$.root.locale.Tr "repo.issues.no_content"}} {{end}}
{{.Content}}
{{$reactions := .Reactions.GroupByType}} {{if $reactions}} {{template "repo/issue/view_content/reactions" dict "ctxData" $.root "ActionURL" (printf "%s/comments/%d/reactions" $.root.RepoLink .ID) "Reactions" $reactions}} {{end}}
{{end}}