summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-30 00:22:26 +0800
committerUnknwon <u@gogs.io>2015-08-30 00:22:26 +0800
commit302938e646d764cb7f0f63720d6b44fd1fa6e065 (patch)
treedfb4f75d71f9db406ea2155159282268226ab8b7 /templates/install.tmpl
parent8d73832bdfeecb3889cf5a1f2b4e41b9d4d37f62 (diff)
downloadgitea-302938e646d764cb7f0f63720d6b44fd1fa6e065.tar.gz
gitea-302938e646d764cb7f0f63720d6b44fd1fa6e065.zip
#1333 Disable Gravatar option when install
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index f92843692d..6f35211e4f 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -158,12 +158,18 @@
</div>
<div class="content">
<div class="inline field">
- <div class="ui checkbox">
+ <div class="ui checkbox" id="offline-mode">
<label class="poping up" data-content="{{.i18n.Tr "install.offline_mode_popup"}}"><strong>{{.i18n.Tr "install.offline_mode"}}</strong></label>
<input name="offline_mode" type="checkbox" {{if .offline_mode}}checked{{end}}>
</div>
</div>
<div class="inline field">
+ <div class="ui checkbox" id="disable-gravatar">
+ <label class="poping up" data-content="{{.i18n.Tr "install.disable_gravatar_popup"}}"><strong>{{.i18n.Tr "install.disable_gravatar"}}</strong></label>
+ <input name="disable_gravatar" type="checkbox" {{if .disable_gravatar}}checked{{end}}>
+ </div>
+ </div>
+ <div class="inline field">
<div class="ui checkbox">
<label class="poping up" data-content="{{.i18n.Tr "install.disable_registration_popup"}}"><strong>{{.i18n.Tr "install.disable_registration"}}</strong></label>
<input name="disable_registration" type="checkbox" {{if .disable_registration}}checked{{end}}>