0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 16:22:50 +01:00

Fix template bug of pull request view (#32072)

Caused by #31924
This commit is contained in:
Lunny Xiao 2024-09-24 11:02:42 +08:00 committed by GitHub
parent 6eb5950835
commit 2c6fa6c1e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@
</a>
</div>
<div class="tw-flex tw-items-center tw-gap-2">
<span {{if .Review.TooltipContent}}data-tooltip-content="{{ctx.Locale.Tr .Review.TooltipContent}}"{{end}}>
<span {{if .TooltipContent}}data-tooltip-content="{{ctx.Locale.Tr .TooltipContent}}"{{end}}>
{{svg (printf "octicon-%s" .Type.Icon) 16 (printf "text %s" (.HTMLTypeColorName))}}
</span>
</div>