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