From 118aeddcd346b4e4bc0e6fa38c3849b19fe271f0 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 4 Dec 2020 00:12:59 +0100 Subject: [PATCH] Fix avatar template error (#13833) Fixes: https://github.com/go-gitea/gitea/issues/13831 --- templates/repo/shabox_badge.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/shabox_badge.tmpl b/templates/repo/shabox_badge.tmpl index 4fbb15e933..a10334bdd0 100644 --- a/templates/repo/shabox_badge.tmpl +++ b/templates/repo/shabox_badge.tmpl @@ -3,7 +3,7 @@
{{if ne .verification.SigningUser.ID 0}} {{svg "gitea-lock"}} - {{avatar .verification.SigningUser "signature"}} + {{avatar .verification.SigningUser 28 "signature"}} {{else}} {{svg "gitea-lock-cog"}} {{avatarByEmail .verification.SigningEmail "" 28 "signature"}}