aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-04-26 19:02:15 +0100
committerGitHub <noreply@github.com>2021-04-26 19:02:15 +0100
commitb07938be5ba00569fe53508391535ea8d8d3f7eb (patch)
tree392827112fa6c774dfc245e6d0137ba4a60be5af /templates
parent3d5bb3e6a34bfb8073f6c61eb506cbdc927efbd4 (diff)
downloadgitea-b07938be5ba00569fe53508391535ea8d8d3f7eb.tar.gz
gitea-b07938be5ba00569fe53508391535ea8d8d3f7eb.zip
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>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/graph/commits.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl
index 8cd6adb04d..8f3260ba50 100644
--- a/templates/repo/graph/commits.tmpl
+++ b/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}}