From 2ba58fab22737d73e459c40f9ee6fab3c9947d8c Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 8 Mar 2023 18:57:09 +0100 Subject: [PATCH] Pass context to avatar for projects view (#23359) (#23378) Backport of #23359. Previously, a 500 response was returned when - an issue had assignees - the issue was assigned to a project - you tried to view this project --- templates/projects/view.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index eabeff492..4fdeb139e 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -238,7 +238,7 @@ {{end}}
{{range .Assignees}} - {{avatar . 28 "mini gt-mr-3"}} + {{avatar $.Context . 28 "mini gt-mr-3"}} {{end}}