diff options
author | Unknwon <u@gogs.io> | 2016-08-05 12:12:54 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-05 12:12:54 -0700 |
commit | 50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e (patch) | |
tree | 649757ae8cac275b0501e684d1c7bb0a5ee2d7d9 /templates/repo/commits_table.tmpl | |
parent | db3d393576c716dbbea500791c5f800e52c70be5 (diff) | |
download | gitea-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.tmpl | 2 |
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=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a> + <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a> {{else}} <img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}} {{end}} |