summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-02-20 09:57:16 +0800
committerGitHub <noreply@github.com>2023-02-20 09:57:16 +0800
commit8e9814c3469dff1ae595b6f12b60dbb32b15d2b7 (patch)
tree3b7fec99f0a342b4589e71b4a566d99fdb3f30e5 /templates/repo
parent65fc2d1b83182134610558cbea980e18ec815a93 (diff)
downloadgitea-8e9814c3469dff1ae595b6f12b60dbb32b15d2b7.tar.gz
gitea-8e9814c3469dff1ae595b6f12b60dbb32b15d2b7.zip
Fix broken pull request files (#22962)
Fix #22961
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl
index a6f191728c..985ad06559 100644
--- a/templates/repo/diff/comments.tmpl
+++ b/templates/repo/diff/comments.tmpl
@@ -5,7 +5,7 @@
{{if .OriginalAuthor}}
<span class="avatar"><img src="{{AppSubUrl}}/assets/img/avatar_default.png"></span>
{{else}}
- {{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Poster}}
+ {{template "shared/user/avatarlink" Dict "Context" $.root.Context "user" .Poster}}
{{end}}
<div class="content comment-container">
<div class="ui top attached header comment-header gt-df gt-ac gt-sb">