mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-14 01:20:51 +08:00
de7b87fbc2
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>
4 lines
73 B
Handlebars
4 lines
73 B
Handlebars
<a{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
|
|
{{.GetDisplayName}}
|
|
</a>
|