mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 09:09:36 -05:00
2f0a1eb0d5
Backport #20577 There are several places in templates/repo/issue/view_content/comments.tmpl where links are made to Posters or Assignees who are Ghosts or have IDs <0. Fix #20559 Signed-off-by: Andrew Thornton <art27@cantab.net> Signed-off-by: Andrew Thornton <art27@cantab.net>
3 lines
73 B
Handlebars
3 lines
73 B
Handlebars
<a{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
|
|
{{.GetDisplayName}}
|
|
</a>
|