diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl
index f9e8c4acb9..1d223d2ea2 100644
--- a/templates/repo/commit_page.tmpl
+++ b/templates/repo/commit_page.tmpl
@@ -40,9 +40,9 @@
{{if .Author}}
{{if .Author.FullName}}
- {{.Author.FullName}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
+ {{.Author.FullName}}
{{else}}
- {{.Commit.Author.Name}} {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
+ {{.Commit.Author.Name}}
{{end}}
{{else}}
@@ -54,7 +54,7 @@
{{svg "octicon-git-commit" 16}}{{.i18n.Tr "repo.diff.committed_by"}}
{{if ne .Verification.CommittingUser.ID 0}}
- {{.Commit.Committer.Name}} <{{.Commit.Committer.Email}}>
+ {{.Commit.Committer.Name}}
{{else}}
{{.Commit.Committer.Name}}
@@ -99,13 +99,13 @@
{{.i18n.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}:
{{end}}
- {{.Verification.SigningUser.Name}} <{{.Verification.SigningEmail}}>
+ {{.Verification.SigningUser.Name}}
{{.i18n.Tr "repo.commits.gpg_key_id"}}: {{.Verification.SigningKey.KeyID}}
{{else}}
{{svg "gitea-lock-cog" 16}}
{{.i18n.Tr "repo.commits.signed_by"}}:
- {{.Verification.SigningUser.Name}} <{{.Verification.SigningEmail}}>
+ {{.Verification.SigningUser.Name}}
{{.i18n.Tr "repo.commits.gpg_key_id"}}: {{.Verification.SigningKey.KeyID}}
{{end}}
{{else if .Verification.Warning}}