diff options
author | delvh <leon@kske.dev> | 2023-03-08 00:17:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 18:17:35 -0500 |
commit | 608a3eeb592a311ea44f7d739458bcf4fa4ba9bd (patch) | |
tree | 48a60b971920996edba0a7316ef1d440fc765e74 | |
parent | 8598356df1eb21b6e33ecb9f9268ba36c5488e7c (diff) | |
download | gitea-608a3eeb592a311ea44f7d739458bcf4fa4ba9bd.tar.gz gitea-608a3eeb592a311ea44f7d739458bcf4fa4ba9bd.zip |
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.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 074c5315ab..14a876d8fd 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> |