diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl index a6f191728c7bb..985ad06559c9e 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -5,7 +5,7 @@ {{if .OriginalAuthor}} {{else}} - {{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Poster}} + {{template "shared/user/avatarlink" Dict "Context" $.root.Context "user" .Poster}} {{end}}