Browse Source

templates/user/profile: fix link to avatar settings (#4251)

pull/4264/head
Unknwon 8 years ago
parent
commit
a9d2480c7f
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      templates/user/profile.tmpl

2
templates/user/profile.tmpl

@ -5,7 +5,7 @@
<div class="ui five wide column">
<div class="ui card">
{{if eq .SignedUserName .Owner.Name}}
<a class="image poping up" href="{{AppSubUrl}}/user/settings" id="profile-avatar" data-content="{{.i18n.Tr "user.change_avatar"}}" data-variation="inverted tiny" data-position="bottom center">
<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}}"/>
</a>
{{else}}

Loading…
Cancel
Save