File tree 1 file changed +3
-2
lines changed
templates/repo/issue/view_content 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 365
365
{{if .Review}}{{$reviewType = .Review.Type}}{{end}}
366
366
{{if not .OriginalAuthor}}
367
367
{{/* 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 */}}
369
- <a class="timeline-avatar{{if or .Content .Attachments (and .Review .Review.CodeComments)}} timeline-avatar-offset{{end}}"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
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 */}}
370
+ <a class="timeline-avatar{{if or .Content .Attachments}} timeline-avatar-offset{{end}}"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>
370
371
{{ctx.AvatarUtils.Avatar .Poster 40}}
371
372
</a>
372
373
{{end}}
You can’t perform that action at this time.
0 commit comments