diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-10 21:36:38 -0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-12-11 13:36:38 +0800 |
commit | 8a19c6b9a25e6336be80496f0216971ae4d2475a (patch) | |
tree | 0600fe2218ec54d127ad3e41089c39511cd8b705 /templates/user/profile.tmpl | |
parent | 81fd8c8fb686621acfdd91a73ade75b44030ce18 (diff) | |
download | gitea-8a19c6b9a25e6336be80496f0216971ae4d2475a.tar.gz gitea-8a19c6b9a25e6336be80496f0216971ae4d2475a.zip |
Fix avatar URLs (#3069) (#3143)
* Fix avatar URLs
* import order
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 60355de060..22a7f96eda 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -6,11 +6,11 @@ <div class="ui card"> {{if eq .SignedUserName .Owner.Name}} <a class="image poping up" href="{{AppSubUrl}}/user/settings/avatar" id="profile-avatar" data-content="{{.i18n.Tr "user.change_avatar"}}" data-variation="inverted tiny" data-position="bottom center"> - <img src="{{.Owner.RelAvatarLink}}?s=290" title="{{.Owner.Name}}"/> + <img src="{{.Owner.SizedRelAvatarLink 290}}" title="{{.Owner.Name}}"/> </a> {{else}} <span class="image"> - <img src="{{.Owner.RelAvatarLink}}?s=290" title="{{.Owner.Name}}"/> + <img src="{{.Owner.SizedRelAvatarLink 290}}" title="{{.Owner.Name}}"/> </span> {{end}} <div class="content"> |