File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
templates/repo/issue/view_content Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 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 */}}
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}}>
370371 {{ctx.AvatarUtils.Avatar .Poster 40}}
371372 </a>
372373 {{end}}
You can’t perform that action at this time.
0 commit comments