diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-10-04 20:28:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 12:28:25 +0000 |
commit | dd221b9aec6a827da395eaca4f521674bc5be34a (patch) | |
tree | 6dc955285f8209367e91d12cbc936c95997d134a /templates/repo/issue | |
parent | 74763f50aed7a1d9453a8da29da7c7a1a5a4bd56 (diff) | |
download | gitea-dd221b9aec6a827da395eaca4f521674bc5be34a.tar.gz gitea-dd221b9aec6a827da395eaca4f521674bc5be34a.zip |
Fix pr template (#27436)
Fix #27431
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 714701939f..d3fe424b84 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -496,7 +496,7 @@ {{end}} </div> </div> - {{$diff := (CommentMustAsDiff (index $comms 0))}} + {{$diff := (CommentMustAsDiff ctx (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}}"> |