Skip to content

Commit 1260c99

Browse files
authored
Update templates/repo/issue/view_content/comments.tmpl
1 parent b5ab198 commit 1260c99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@
365365
{{if .Review}}{{$reviewType = .Review.Type}}{{end}}
366366
{{if not .OriginalAuthor}}
367367
{{/* Some timeline avatars need a offset to correctly align with their speech bubble.
368-
The condition depends on whether the comment has contents/attachments or reviews */}}
368+
The condition depends on whether the comment has contents/attachments,
369+
review's comment is also controlled/rendered by issue comment's Content field */}}
369370
<a class="timeline-avatar{{if or .Content .Attachments}} timeline-avatar-offset{{end}}"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
370371
{{ctx.AvatarUtils.Avatar .Poster 40}}
371372
</a>

0 commit comments

Comments
 (0)