aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-04-26 11:14:01 +0800
committerGitHub <noreply@github.com>2022-04-26 11:14:01 +0800
commitfef26c159c7f426d7f6331b31e6d4119e47a9188 (patch)
treef281167866f9f0fce16ee97317a501a6a1d2f20b /templates
parent741c55b4eacafa2e3e55ccd634cd3511920dfc98 (diff)
downloadgitea-fef26c159c7f426d7f6331b31e6d4119e47a9188.tar.gz
gitea-fef26c159c7f426d7f6331b31e6d4119e47a9188.zip
Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff/compare.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl
index 4517f0029c..743eaa2efa 100644
--- a/templates/repo/diff/compare.tmpl
+++ b/templates/repo/diff/compare.tmpl
@@ -191,7 +191,7 @@
<div class="twelve wide column issue-title">
{{.i18n.Tr "repo.pulls.has_pull_request" (Escape $.RepoLink) (Escape $.RepoRelPath) .PullRequest.Index | Safe}}
<h1>
- <span id="issue-title">{{RenderIssueTitle .PullRequest.Issue.Title $.RepoLink $.Repository.ComposeMetas}}</span>
+ <span id="issue-title">{{RenderIssueTitle $.Context .PullRequest.Issue.Title $.RepoLink $.Repository.ComposeMetas}}</span>
<span class="index">#{{.PullRequest.Issue.Index}}</span>
</h1>
</div>