We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab22a1 commit edeadc3Copy full SHA for edeadc3
templates/repo/shabox_badge.tmpl
@@ -3,7 +3,7 @@
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"}}
0 commit comments