summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-04 00:12:59 +0100
committerGitHub <noreply@github.com>2020-12-03 23:12:59 +0000
commit118aeddcd346b4e4bc0e6fa38c3849b19fe271f0 (patch)
tree622717cf70fd3ee3d2f0376fd450c754fd6b8466
parentf0cc29761d4acdadc7db4b13128b15cc00c621c7 (diff)
downloadgitea-118aeddcd346b4e4bc0e6fa38c3849b19fe271f0.tar.gz
gitea-118aeddcd346b4e4bc0e6fa38c3849b19fe271f0.zip
Fix avatar template error (#13833)
Fixes: https://github.com/go-gitea/gitea/issues/13831
-rw-r--r--templates/repo/shabox_badge.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/shabox_badge.tmpl b/templates/repo/shabox_badge.tmpl
index 4fbb15e933..a10334bdd0 100644
--- a/templates/repo/shabox_badge.tmpl
+++ b/templates/repo/shabox_badge.tmpl
@@ -3,7 +3,7 @@
<div title="{{if eq .verification.TrustStatus "trusted"}}{{else if eq .verification.TrustStatus "untrusted"}}{{$.root.i18n.Tr "repo.commits.signed_by_untrusted_user"}}: {{else}}{{$.root.i18n.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}: {{end}}{{.verification.Reason}}">
{{if ne .verification.SigningUser.ID 0}}
{{svg "gitea-lock"}}
- {{avatar .verification.SigningUser "signature"}}
+ {{avatar .verification.SigningUser 28 "signature"}}
{{else}}
<span title="{{$.root.i18n.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog"}}</span>
{{avatarByEmail .verification.SigningEmail "" 28 "signature"}}