]> source.dussan.org Git - gitea.git/commitdiff
Fix commit graph author link (#15627)
authorzeripath <art27@cantab.net>
Mon, 26 Apr 2021 18:02:15 +0000 (19:02 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 18:02:15 +0000 (19:02 +0100)
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>
templates/repo/graph/commits.tmpl

index 8cd6adb04d8e2c778210c3799ccdb73496ad1693..8f3260ba50e7c64d4ffd73b5336178e386a2b251 100644 (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}}