Skip to content

Commit 0082432

Browse files
make comments list display grey checks
1 parent 0146100 commit 0082432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
{{ctx.AvatarUtils.Avatar .Poster 40}}
381381
</a>
382382
{{end}}
383-
<span class="badge{{if eq $reviewType 1}} tw-bg-green tw-text-white{{else if eq $reviewType 3}} tw-bg-red tw-text-white{{end}}">
383+
<span class="badge tw-text-white{{if eq $reviewType 1}}{{if .Review.Official}} tw-bg-green {{else}} tw-bg-grey{{end}}{{else if eq $reviewType 3}} tw-bg-red{{end}}">
384384
{{if .Review}}{{svg (printf "octicon-%s" .Review.Type.Icon)}}{{end}}
385385
</span>
386386
<span class="text grey muted-links">

0 commit comments

Comments
 (0)