aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/commits_table.tmpl
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-10-22 20:01:38 +0800
committerGitHub <noreply@github.com>2022-10-22 20:01:38 +0800
commitce25881c880d9711f211be05f92a809304a436e3 (patch)
tree9239c155c8276761de6639fd19b0a56e87eedde5 /templates/repo/commits_table.tmpl
parent7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff)
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r--templates/repo/commits_table.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 3ba3797f..7af40b04 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -33,7 +33,7 @@
<tr>
<td class="author">
{{if .User}}
- <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/>&nbsp;&nbsp;<a href="{{AppSubURL}}/{{.User.Name}}">{{.Author.Name}}</a>
+ <img class="ui avatar image" src="{{.User.AvatarURLPath}}" alt=""/>&nbsp;&nbsp;<a href="{{AppSubURL}}/{{.User.Name}}">{{.Author.Name}}</a>
{{else}}
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}}
{{end}}