From f196da12dba17e7e9f51b6eae728e5473aa5f485 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 17 Feb 2023 01:20:53 +0800 Subject: [PATCH] Fix context bug (#22940) Fix https://try.gitea.io/wxiaoguang/test/issues/19 --- templates/repo/issue/view_content/comments.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 8cef673a7..5bd5c8b48 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -213,7 +213,7 @@ {{end}} {{else}} - {{template "shared/user/avatarlink" "user" .Assignee}} + {{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Assignee}} {{template "shared/user/authorlink" .Assignee}} {{if eq .Poster.ID .AssigneeID}}