Skip to content

Commit 3f318a4

Browse files
authored
1 parent 0ab22a1 commit 3f318a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/shabox_badge.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
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>
9-
{{avatarByEmail $.Context .verification.SigningEmail "" 28 "signature"}}
9+
{{avatarByEmail $.root.Context .verification.SigningEmail "" 28 "signature"}}
1010
{{end}}
1111
</div>
1212
{{else}}

0 commit comments

Comments
 (0)