Revert "Fix pr template (#27436)" (#27567)

Reverts backport go-gitea/gitea#27440
Fix #27564
This commit is contained in:
Nanguan Lin 2023-10-11 11:11:04 +08:00 committed by GitHub
parent 9da92835d1
commit f19feb0f47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -496,7 +496,7 @@
{{end}}
</div>
</div>
{{$diff := (CommentMustAsDiff ctx (index $comms 0))}}
{{$diff := (CommentMustAsDiff (index $comms 0))}}
{{if $diff}}
{{$file := (index $diff.Files 0)}}
<div id="code-preview-{{(index $comms 0).ID}}" class="ui table segment{{if $resolved}} gt-hidden{{end}}">