0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 10:09:06 +02:00

Fix context bug (#22940)

Fix https://try.gitea.io/wxiaoguang/test/issues/19
This commit is contained in:
Lunny Xiao 2023-02-17 01:20:53 +08:00 committed by GitHub
parent aa45777c92
commit f196da12db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,7 @@
{{end}}
</span>
{{else}}
{{template "shared/user/avatarlink" "user" .Assignee}}
{{template "shared/user/avatarlink" Dict "Context" $.Context "user" .Assignee}}
<span class="text grey muted-links">
{{template "shared/user/authorlink" .Assignee}}
{{if eq .Poster.ID .AssigneeID}}