diff options
author | yp05327 <576951401@qq.com> | 2023-02-19 13:57:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 12:57:49 +0800 |
commit | d5e417a33d04d7a2d16317495d7aad45ca0868ed (patch) | |
tree | 4afd18f16c55bca9fd16f0ac8684283b81978970 /templates/shared | |
parent | d32af84a1002ceb235c86e4ac569c866ab7816d4 (diff) | |
download | gitea-d5e417a33d04d7a2d16317495d7aad45ca0868ed.tar.gz gitea-d5e417a33d04d7a2d16317495d7aad45ca0868ed.zip |
Fix no user listed in org teams page (#22979)
https://github.com/go-gitea/gitea/pull/22294 introduced this bug.
Before:
![picture](https://user-images.githubusercontent.com/18380374/219916000-5b28db1a-22b5-481a-807b-49c14ac1cd35.png)
After:
![picture](https://user-images.githubusercontent.com/18380374/219916260-6b94efbb-836a-4551-b6a8-3f9cb37d822a.png)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/shared')
-rw-r--r-- | templates/shared/user/avatarlink.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/user/avatarlink.tmpl b/templates/shared/user/avatarlink.tmpl index 3e87eee78e..c99f0aacb7 100644 --- a/templates/shared/user/avatarlink.tmpl +++ b/templates/shared/user/avatarlink.tmpl @@ -1 +1 @@ -<a class="avatar"{{if gt .user.ID 0}} href="{{.user.HomeLink}}"{{end}}>{{avatar $.Context .}}</a> +<a class="avatar"{{if gt .user.ID 0}} href="{{.user.HomeLink}}"{{end}}>{{avatar $.Context .user}}</a> |