Skip to content

Commit 13c4c7a

Browse files
Match GH with Commit page (#12425) (#12431)
Co-authored-by: zeripath <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 6015d30 commit 13c4c7a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/repo/commit_page.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
{{if .Author}}
3636
<img class="ui avatar image" src="{{.Author.RelAvatarLink}}" />
3737
{{if .Author.FullName}}
38-
<a href="{{.Author.HomeLink}}"><strong>{{.Author.FullName}}</strong> {{if .IsSigned}}&lt;{{.Commit.Author.Email}}&gt;{{end}}</a>
38+
<a href="{{.Author.HomeLink}}"><strong>{{.Author.FullName}}</strong></a>
3939
{{else}}
40-
<a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong> {{if .IsSigned}}&lt;{{.Commit.Author.Email}}&gt;{{end}}</a>
40+
<a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a>
4141
{{end}}
4242
{{else}}
4343
<img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" />
@@ -49,7 +49,7 @@
4949
<span class="text grey">{{svg "octicon-git-commit" 16}}{{.i18n.Tr "repo.diff.committed_by"}}</span>
5050
{{if ne .Verification.CommittingUser.ID 0}}
5151
<img class="ui avatar image" src="{{.Verification.CommittingUser.RelAvatarLink}}" />
52-
<a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong> &lt;{{.Commit.Committer.Email}}&gt;</a>
52+
<a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a>
5353
{{else}}
5454
<img class="ui avatar image" src="{{AvatarLink .Commit.Committer.Email}}" />
5555
<strong>{{.Commit.Committer.Name}}</strong>
@@ -94,7 +94,7 @@
9494
<span class="ui text">{{.i18n.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}:</span>
9595
{{end}}
9696
<img class="ui avatar image" src="{{.Verification.SigningUser.RelAvatarLink}}" />
97-
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Verification.SigningUser.Name}}</strong> <{{.Verification.SigningEmail}}></a>
97+
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Verification.SigningUser.Name}}</strong></a>
9898
<span class="pull-right"><span class="ui text">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
9999
{{else}}
100100
<i class="icons" title="{{.i18n.Tr "gpg.default_key"}}">
@@ -103,7 +103,7 @@
103103
</i>
104104
<span class="ui text">{{.i18n.Tr "repo.commits.signed_by"}}:</span>
105105
<img class="ui avatar image" src="{{AvatarLink .Verification.SigningEmail}}" />
106-
<strong>{{.Verification.SigningUser.Name}}</strong> <{{.Verification.SigningEmail}}>
106+
<strong>{{.Verification.SigningUser.Name}}</strong>
107107
<span class="pull-right"><span class="ui text">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> <i class="cogs icon" title="{{.i18n.Tr "gpg.default_key"}}"></i>{{.Verification.SigningKey.KeyID}}</span>
108108
{{end}}
109109
{{else if .Verification.Warning}}

0 commit comments

Comments
 (0)