aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/meta/header.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/user/meta/header.tmpl
parentdb3d393576c716dbbea500791c5f800e52c70be5 (diff)
downloadgitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.tar.gz
gitea-50422f1fc226d71fe2f5f701c7ebdd1a5f2d143e.zip
#3348 always use relative avatar link in the template
Diffstat (limited to 'templates/user/meta/header.tmpl')
-rw-r--r--templates/user/meta/header.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/user/meta/header.tmpl b/templates/user/meta/header.tmpl
index 4982c7506a..36072e8aa1 100644
--- a/templates/user/meta/header.tmpl
+++ b/templates/user/meta/header.tmpl
@@ -1,13 +1,12 @@
{{with .Owner}}
<div class="ui container">
- <img class="ui avatar image" src="{{.AvatarLink}}">
+ <img class="ui avatar image" src="{{.RelAvatarLink}}">
<span class="header name">
<a href="{{.HomeLink}}">{{.Name}}</a>
{{with .FullName}}({{.}}){{end}}
</span>
<div class="ui right">
-
{{if or $.PageIsFollowers $.PageIsFollowing}}
{{if and $.IsSigned (ne $.SignedUserName .Name)}}
<div class="follow">