From 3f318a4bad432b206386ba31399f84341913caf4 Mon Sep 17 00:00:00 2001 From: Gusted Date: Thu, 16 Feb 2023 02:37:11 +0100 Subject: [PATCH] Fix shabox regression (#22924) - Regression from https://github.com/go-gitea/gitea/pull/22294 Error: ![image](https://user-images.githubusercontent.com/25481501/219115669-52b98fdb-bcbb-430d-a205-beb305c37e85.png) --- templates/repo/shabox_badge.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}