Fix template bug of pull request view (#32072)

Caused by #31924
pull/31970/head^2
Lunny Xiao 2 months ago committed by GitHub
parent 6eb5950835
commit 2c6fa6c1e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/repo/issue/view_content/sidebar.tmpl

@ -109,7 +109,7 @@
</a> </a>
</div> </div>
<div class="tw-flex tw-items-center tw-gap-2"> <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))}} {{svg (printf "octicon-%s" .Type.Icon) 16 (printf "text %s" (.HTMLTypeColorName))}}
</span> </span>
</div> </div>

Loading…
Cancel
Save