diff --git a/templates/repo/shabox_badge.tmpl b/templates/repo/shabox_badge.tmpl index 9590a3fb5..2418d95c6 100644 --- a/templates/repo/shabox_badge.tmpl +++ b/templates/repo/shabox_badge.tmpl @@ -3,10 +3,10 @@
{{if ne .verification.SigningUser.ID 0}} {{svg "gitea-lock"}} - {{avatar $.Context .verification.SigningUser 28 "signature"}} + {{avatar $.root.Context .verification.SigningUser 28 "signature"}} {{else}} {{svg "gitea-lock-cog"}} - {{avatarByEmail $.Context .verification.SigningEmail "" 28 "signature"}} + {{avatarByEmail $.root.Context .verification.SigningEmail "" 28 "signature"}} {{end}}
{{else}}