{{range .comments}} {{ $createdStr:= TimeSinceUnix .CreatedUnix $.root.Lang }}
{{.Poster.GetDisplayName}} {{$.root.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}
{{if and .Review}} {{if eq .Review.Type 0}}
{{$.root.i18n.Tr "repo.issues.review.pending"}}
{{else}}
{{$.root.i18n.Tr "repo.issues.review.review"}}
{{end}} {{end}} {{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) }} {{if or $.root.Permission.IsAdmin (eq .Poster.ID $.root.SignedUserID)}}
{{end}}
{{if .RenderedContent}} {{.RenderedContent|Str2html}} {{else}} {{$.root.i18n.Tr "repo.issues.no_content"}} {{end}}
{{.Content}}
{{$reactions := .Reactions.GroupByType}} {{if $reactions}}
{{template "repo/issue/view_content/reactions" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) "Reactions" $reactions }}
{{end}}
{{end}}