Skip to content

Commit edeadc3

Browse files
committed
Fix shabox regression
- Regression from go-gitea#22294
1 parent 0ab22a1 commit edeadc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/shabox_badge.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div title="{{if eq .verification.TrustStatus "trusted"}}{{else if eq .verification.TrustStatus "untrusted"}}{{$.root.locale.Tr "repo.commits.signed_by_untrusted_user"}}: {{else}}{{$.root.locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}: {{end}}{{.verification.Reason}}">
44
{{if ne .verification.SigningUser.ID 0}}
55
{{svg "gitea-lock"}}
6-
{{avatar $.Context .verification.SigningUser 28 "signature"}}
6+
{{avatar $.root.Context .verification.SigningUser 28 "signature"}}
77
{{else}}
88
<span title="{{$.root.locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog"}}</span>
99
{{avatarByEmail $.Context .verification.SigningEmail "" 28 "signature"}}

0 commit comments

Comments
 (0)