mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
#2180 fix avatar link when disable gravatar
This commit is contained in:
parent
5ff6eedf5e
commit
cadf03db68
@ -4,7 +4,7 @@
|
||||
<div class="ui grid">
|
||||
<div class="ui five wide column">
|
||||
<div class="ui card">
|
||||
{{if and (.Owner.UseCustomAvatar) (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>
|
||||
|
Loading…
Reference in New Issue
Block a user