summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_table.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-05 12:12:54 -0700
committerUnknwon <u@gogs.io>2016-08-05 12:12:54 -0700
commit50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e (patch)
tree649757ae8cac275b0501e684d1c7bb0a5ee2d7d9 /templates/repo/commits_table.tmpl
parentdb3d393576c716dbbea500791c5f800e52c70be5 (diff)
downloadgitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.tar.gz
gitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.zip
#3348 always use relative avatar link in the template
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 8b22228d07..03e8591f68 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -30,7 +30,7 @@
<tr>
<td class="author">
{{if .User}}
- <img class="ui avatar image" src="{{.User.AvatarLink}}" alt=""/>&nbsp;&nbsp;<a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a>
+ <img class="ui avatar image" src="{{.User.RelAvatarLink}}" 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}}