diff options
author | Nanguan Lin <70063547+lng2020@users.noreply.github.com> | 2023-10-11 11:11:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 03:11:04 +0000 |
commit | f19feb0f473f33cae336cf7771b801e13641885e (patch) | |
tree | 120eaba2729fa1ec8e0c59609d7b56a8937207f8 /templates | |
parent | 9da92835d18f20261e4e97c0e97a7dd74a78f01c (diff) | |
download | gitea-f19feb0f473f33cae336cf7771b801e13641885e.tar.gz gitea-f19feb0f473f33cae336cf7771b801e13641885e.zip |
Revert "Fix pr template (#27436)" (#27567)
Reverts backport go-gitea/gitea#27440
Fix #27564
Diffstat (limited to 'templates')
-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 d3fe424b84..714701939f 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 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}}"> |