diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/shabox_badge.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/shabox_badge.tmpl b/templates/repo/shabox_badge.tmpl index 9590a3fb51..2418d95c67 100644 --- a/templates/repo/shabox_badge.tmpl +++ b/templates/repo/shabox_badge.tmpl @@ -3,10 +3,10 @@ <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}}"> {{if ne .verification.SigningUser.ID 0}} {{svg "gitea-lock"}} - {{avatar $.Context .verification.SigningUser 28 "signature"}} + {{avatar $.root.Context .verification.SigningUser 28 "signature"}} {{else}} <span title="{{$.root.locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog"}}</span> - {{avatarByEmail $.Context .verification.SigningEmail "" 28 "signature"}} + {{avatarByEmail $.root.Context .verification.SigningEmail "" 28 "signature"}} {{end}} </div> {{else}} |