diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-03 03:55:13 -0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-12-03 19:55:13 +0800 |
commit | ab62da283aa20475109eba907324f55123d7e3c6 (patch) | |
tree | a08bb1753ff39d9ecc74afc42374ba614c67d8bb /templates/user/profile.tmpl | |
parent | 7bab3d2fb1d75ac29ad6a9b11203ea358b1979d3 (diff) | |
download | gitea-ab62da283aa20475109eba907324f55123d7e3c6.tar.gz gitea-ab62da283aa20475109eba907324f55123d7e3c6.zip |
Fix avatar URLs (#3069)
* 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"> |