mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
Fix shabox regression (#22924)
- Regression from https://github.com/go-gitea/gitea/pull/22294 Error: ![image](https://user-images.githubusercontent.com/25481501/219115669-52b98fdb-bcbb-430d-a205-beb305c37e85.png)
This commit is contained in:
parent
0ab22a1a02
commit
3f318a4bad
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue