File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 165165 <span class="text grey gt-mx-3">{{.locale.Tr "repo.diff.committed_by"}}</span>
166166 {{if ne .Verification.CommittingUser.ID 0}}
167167 {{avatar $.Context .Verification.CommittingUser 28 "gt-mx-3"}}
168- <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a>
168+ {{if eq .Commit.Committer.Name .Verification.CommittingUser.Name}}
169+ <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}} ({{.Verification.CommittingUser.Name}})</strong></a>
170+ {{else}}
171+ <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a>
172+ {{end}}
169173 {{else}}
170174 {{avatarByEmail $.Context .Commit.Committer.Email .Commit.Committer.Name 28 "gt-mr-3"}}
171175 <strong>{{.Commit.Committer.Name}}</strong>
You can’t perform that action at this time.
0 commit comments