File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 46
46
<label for="location">{{.i18n.Tr "settings.location"}}</label>
47
47
<input class="ipt ipt-large ipt-radius {{if .Err_Location}}ipt-error{{end}}" id="location" name="location" type="text" value="{{.SignedUser.Location}}" />
48
48
</div>
49
- {{if not DisableGravatar}}
50
- <div class="field">
49
+ <div class="field {{if DisableGravatar}}hide{{end}}">
51
50
<label class="req" for="gravatar-email">Gravatar {{.i18n.Tr "email"}}</label>
52
51
<input class="ipt ipt-large ipt-radius {{if .Err_Avatar}}ipt-error{{end}}" id="gravatar-email" name="avatar" type="text" value="{{.SignedUser.AvatarEmail}}" />
53
52
</div>
54
- {{end}}
55
53
<div class="field">
56
54
<label></label>
57
55
<button class="btn btn-green btn-large btn-radius" id="change-username-btn" href="#change-username-modal">{{.i18n.Tr "settings.update_profile"}}</button>
You can’t perform that action at this time.
0 commit comments