We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab22a1 commit 3f318a4Copy full SHA for 3f318a4
templates/repo/shabox_badge.tmpl
@@ -3,10 +3,10 @@
3
<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}}">
4
{{if ne .verification.SigningUser.ID 0}}
5
{{svg "gitea-lock"}}
6
- {{avatar $.Context .verification.SigningUser 28 "signature"}}
+ {{avatar $.root.Context .verification.SigningUser 28 "signature"}}
7
{{else}}
8
<span title="{{$.root.locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog"}}</span>
9
- {{avatarByEmail $.Context .verification.SigningEmail "" 28 "signature"}}
+ {{avatarByEmail $.root.Context .verification.SigningEmail "" 28 "signature"}}
10
{{end}}
11
</div>
12
0 commit comments