Browse Source

Fix commit graph author link (#15627) (#15630)

Backport #15627

The author link on the commit graph is incorrect and isn't providing a link to the author.

Signed-off-by: Andrew Thornton <art27@cantab.net>
mj-v1.14.3
zeripath 1 year ago
committed by GitHub
parent
commit
4190c134e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/graph/commits.tmpl

2
templates/repo/graph/commits.tmpl

@ -68,7 +68,7 @@
{{$userName = $commit.User.FullName}}
{{end}}
{{avatar $commit.User}}
<a href="{{AppSubUrl}}/{{$commit.User}}">{{$userName}}</a>
<a href="{{$commit.User.HomeLink}}">{{$userName}}</a>
{{else}}
{{avatarByEmail $commit.Commit.Author.Email $userName}}
{{$userName}}

Loading…
Cancel
Save