summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-05-08 22:51:53 +0300
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-05-08 21:51:53 +0200
commit51d0becb4232eab6b18959ccc4a895e5df30c4dc (patch)
treed119ca2bef3ca44147801cd57e4cf2190690f65a /templates/install.tmpl
parenta85c5ab9ff60dab58b2bf713479460caac8e9567 (diff)
downloadgitea-51d0becb4232eab6b18959ccc4a895e5df30c4dc.tar.gz
gitea-51d0becb4232eab6b18959ccc4a895e5df30c4dc.zip
Add configuration option for default permission to create Organizations (#1686)
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index d084005c8c..ede1d4399f 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -213,6 +213,12 @@
</div>
</div>
<div class="inline field">
+ <div class="ui checkbox">
+ <label class="poping up" data-content="{{.i18n.Tr "install.default_allow_create_organization_popup"}}"><strong>{{.i18n.Tr "install.default_allow_create_organization"}}</strong></label>
+ <input name="default_allow_create_organization" type="checkbox" {{if .default_allow_create_organization}}checked{{end}}>
+ </div>
+ </div>
+ <div class="inline field">
<label for="no_reply_address">{{.i18n.Tr "install.no_reply_address"}}</label>
<input id="_no_reply_address" name="no_reply_address" value="{{.no_reply_address}}">
<span class="help">{{.i18n.Tr "install.no_reply_address_helper"}}</span>