aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-01-09 14:45:06 +0800
committerUnknwon <u@gogs.io>2016-01-09 14:45:06 +0800
commit21d7b5acaf383acfc62d94242d514c0a30af70d1 (patch)
tree2b05cd95e2648ceb5078e4919b68b93e2f4eba05 /templates/user/profile.tmpl
parentbcf6aed45237250f678e7051a5ee0bc7c6e2f3c3 (diff)
downloadgitea-21d7b5acaf383acfc62d94242d514c0a30af70d1.tar.gz
gitea-21d7b5acaf383acfc62d94242d514c0a30af70d1.zip
fix #2367
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index cceaa0de57..741d0c125f 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -4,7 +4,7 @@
<div class="ui grid">
<div class="ui five wide column">
<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">
<img src="{{.Owner.AvatarLink}}?s=290" title="{{.Owner.Name}}"/>
</a>