Skip to content

Commit

Permalink
Fix shabox regression
Browse files Browse the repository at this point in the history
- Regression from go-gitea#22294
  • Loading branch information
Gusted committed Feb 15, 2023
1 parent 0ab22a1 commit edeadc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/shabox_badge.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<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"}}
Expand Down

0 comments on commit edeadc3

Please sign in to comment.