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/diff.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/diff.tmpl')
-rw-r--r-- | templates/repo/diff.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 192d6fdd22..e9f12ab932 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -13,7 +13,7 @@ </div> <div class="ui attached info segment"> {{if .Author}} - <img class="ui avatar image" src="{{.Author.AvatarLink}}" /> + <img class="ui avatar image" src="{{.Author.RelAvatarLink}}" /> <a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}} {{else}} <img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" /> |