Browse Source

fix #2367

pull/2370/head
Unknwon 9 years ago
parent
commit
21d7b5acaf
  1. 2
      templates/user/profile.tmpl

2
templates/user/profile.tmpl

@ -4,7 +4,7 @@
<div class="ui grid"> <div class="ui grid">
<div class="ui five wide column"> <div class="ui five wide column">
<div class="ui card"> <div class="ui card">
{{if and (or .Owner.UseCustomAvatar .DisableGravatar) (eq .SignedUserName .Owner.Name)}} {{if and (or .Owner.UseCustomAvatar DisableGravatar) (eq .SignedUserName .Owner.Name)}}
<a class="image poping up" href="{{AppSubUrl}}/user/settings" id="profile-avatar" data-content="{{.i18n.Tr "user.change_custom_avatar"}}" data-variation="inverted tiny" data-position="bottom center"> <a class="image poping up" href="{{AppSubUrl}}/user/settings" id="profile-avatar" data-content="{{.i18n.Tr "user.change_custom_avatar"}}" data-variation="inverted tiny" data-position="bottom center">
<img src="{{.Owner.AvatarLink}}?s=290" title="{{.Owner.Name}}"/> <img src="{{.Owner.AvatarLink}}?s=290" title="{{.Owner.Name}}"/>
</a> </a>

Loading…
Cancel
Save