0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-06-21 20:08:43 +02:00

Fix commit graph author link (#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>
This commit is contained in:
zeripath 2021-04-26 19:02:15 +01:00 committed by GitHub
parent 3d5bb3e6a3
commit b07938be5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}