summaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-28 18:01:27 +0800
committerUnknwon <u@gogs.io>2015-07-28 18:01:39 +0800
commitba47306a6987cf5357a08d55e5cab75a87d2b025 (patch)
treef1731e5e87c7c1e41b8b2f850f6e9ac5ae248740 /templates/org
parent678700b74d1a091c34849d17ade78e2903c08bc9 (diff)
downloadgitea-ba47306a6987cf5357a08d55e5cab75a87d2b025.tar.gz
gitea-ba47306a6987cf5357a08d55e5cab75a87d2b025.zip
fix #1305
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/settings/options.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl
index 86e52fcd82..6544fb4cea 100644
--- a/templates/org/settings/options.tmpl
+++ b/templates/org/settings/options.tmpl
@@ -46,12 +46,10 @@
<label for="location">{{.i18n.Tr "org.settings.location"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Location}}ipt-error{{end}}" id="location" name="location" type="text" value="{{.Org.Location}}" />
</div>
- {{if not DisableGravatar}}
- <div class="field">
+ <div class="field {{if DisableGravatar}}hide{{end}}">
<label for="gravatar-email">Gravatar {{.i18n.Tr "email"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Avatar}}ipt-error{{end}}" id="gravatar-email" name="avatar" type="text" value="{{.Org.AvatarEmail}}" />
</div>
- {{end}}
<div class="field">
<span class="form-label"></span>
<button class="btn btn-green btn-large btn-radius" id="change-orgname-btn" href="#change-orgname-modal">{{.i18n.Tr "org.settings.update_settings"}}</button>