diff options
author | zeripath <art27@cantab.net> | 2022-09-03 10:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 10:33:34 +0100 |
commit | de7b87fbc238e0685c01cb26a580b3d21cee623a (patch) | |
tree | b2bc27a5e219853c8e53ed0a6f2abf23b02aede4 /templates/org | |
parent | 18046eb91e21e03d475f3990e59516b46b6f67e2 (diff) | |
download | gitea-de7b87fbc238e0685c01cb26a580b3d21cee623a.tar.gz gitea-de7b87fbc238e0685c01cb26a580b3d21cee623a.zip |
Do not add links to Posters or Assignees with ID < 0 (#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>
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/team/teams.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 465701d96e..5399f3a594 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -32,9 +32,7 @@ </div> <div class="ui attached segment members"> {{range .Members}} - <a href="{{.HomeLink}}" title="{{.Name}}"> - {{avatar .}} - </a> + {{template "shared/user/avatarlink" .}} {{end}} </div> <div class="ui bottom attached header"> |