aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelvh2023-03-08 00:17:35 +0100
committerGitHub2023-03-07 18:17:35 -0500
commit608a3eeb592a311ea44f7d739458bcf4fa4ba9bd (patch)
tree48a60b971920996edba0a7316ef1d440fc765e74
parent8598356df1eb21b6e33ecb9f9268ba36c5488e7c (diff)
Pass context to avatar for projects view (#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 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r--templates/projects/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
index 074c5315a..14a876d8f 100644
--- a/templates/projects/view.tmpl
+++ b/templates/projects/view.tmpl
@@ -238,7 +238,7 @@
{{end}}
<div class="right floated">
{{range .Assignees}}
- <a class="tooltip" target="_blank" href="{{.HomeLink}}" data-content="{{$.locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{avatar . 28 "mini gt-mr-3"}}</a>
+ <a class="tooltip" target="_blank" href="{{.HomeLink}}" data-content="{{$.locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{avatar $.Context . 28 "mini gt-mr-3"}}</a>
{{end}}
</div>
</div>