{{range .comments}} {{ $createdStr:= TimeSinceUnix .CreatedUnix $.root.Lang }}
{{.Poster.Name}} {{$.root.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}
{{if gt .ShowTag 0}}
{{if eq .ShowTag 1}} {{$.root.i18n.Tr "repo.issues.poster"}} {{else if eq .ShowTag 2}} {{$.root.i18n.Tr "repo.issues.collaborator"}} {{else if eq .ShowTag 3}} {{$.root.i18n.Tr "repo.issues.owner"}} {{end}}
{{end}} {{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) }} {{if or $.root.IsRepositoryAdmin (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}}