From 9269a038a4e904bdeaf5470e76e3a4f8a2a4685b Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 3 Dec 2020 19:46:11 +0100 Subject: Direct avatar rendering (#13649) * Direct avatar rendering This adds new template helpers for avatar rendering which output image elements with direct links to avatars which makes them cacheable by the browsers. This should be a major performance improvment for pages with many avatars. * fix avatars of other user's profile pages * fix top border on user avatar name * uncircle avatars * remove old incomplete avatar selector * use title attribute for name and add it back on blame * minor refactor * tweak comments * fix url path join and adjust test to new result * dedupe functions --- templates/shared/issuelist.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/shared') diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index ddba083b59..62f55f6c40 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -121,7 +121,7 @@
{{range .Assignees}} - + {{avatar .}} {{end}}
-- cgit v1.2.3