1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00

Fix pr template (#27436)

Fix #27431
This commit is contained in:
Lunny Xiao 2023-10-04 20:28:25 +08:00 committed by GitHub
parent 74763f50ae
commit dd221b9aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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