diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/config.tmpl | 2 | ||||
-rw-r--r-- | templates/install.tmpl | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 370325692e..d8292a9e6b 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -114,6 +114,8 @@ <dd><i class="fa fa{{if .Service.RegisterEmailConfirm}}-check{{end}}-square-o"></i></dd> <dt>{{.i18n.Tr "admin.config.disable_register"}}</dt> <dd><i class="fa fa{{if .Service.DisableRegistration}}-check{{end}}-square-o"></i></dd> + <dt>{{.i18n.Tr "admin.config.allow_only_external_registration"}}</dt> + <dd><i class="fa fa{{if .Service.AllowOnlyExternalRegistration}}-check{{end}}-square-o"></i></dd> <dt>{{.i18n.Tr "admin.config.show_registration_button"}}</dt> <dd><i class="fa fa{{if .Service.ShowRegistrationButton}}-check{{end}}-square-o"></i></dd> <dt>{{.i18n.Tr "admin.config.enable_openid_signup"}}</dt> diff --git a/templates/install.tmpl b/templates/install.tmpl index bd79b3a068..46439b4979 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -201,6 +201,12 @@ </div> </div> <div class="inline field"> + <div class="ui checkbox" id="allow-only-external-registration"> + <label class="poping up" data-content="{{.i18n.Tr "install.allow_only_external_registration_popup"}}"><strong>{{.i18n.Tr "install.allow_only_external_registration_popup"}}</strong></label> + <input name="allow_only_external_registration" type="checkbox" {{if .allow_only_external_registration}}checked{{end}}> + </div> + </div> + <div class="inline field"> <div class="ui checkbox" id="enable-openid-signup"> <label class="poping up" data-content="{{.i18n.Tr "install.openid_signup_popup"}}"><strong>{{.i18n.Tr "install.openid_signup"}}</strong></label> <input name="enable_open_id_sign_up" type="checkbox" {{if .enable_open_id_sign_up}}checked{{end}}> |