mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 12:16:17 +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}}">
|
<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}}
|
{{if ne .verification.SigningUser.ID 0}}
|
||||||
{{svg "gitea-lock"}}
|
{{svg "gitea-lock"}}
|
||||||
{{avatar $.Context .verification.SigningUser 28 "signature"}}
|
{{avatar $.root.Context .verification.SigningUser 28 "signature"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span title="{{$.root.locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog"}}</span>
|
<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}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
Loading…
Reference in a new issue