summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRaphael Randschau <nicolai86@me.com>2015-02-05 17:09:26 +0100
committerRaphael Randschau <nicolai86@me.com>2015-02-05 18:14:54 +0100
commit79f328154841152d1add7d2035ff125a6ccc5e25 (patch)
tree1165aafcf124f86d86cda8b1d3e00f49395ec89d /templates
parent16018e832394772591688a261646d3a80787ac9d (diff)
downloadgitea-79f328154841152d1add7d2035ff125a6ccc5e25.tar.gz
gitea-79f328154841152d1add7d2035ff125a6ccc5e25.zip
Add ShowRegistrationButton configuration option
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/config.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 1f8a85ecb2..f8b4be0b83 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -78,6 +78,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.show_registration_button"}}</dt>
+ <dd><i class="fa fa{{if .Service.ShowRegistrationButton}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.require_sign_in_view"}}</dt>
<dd><i class="fa fa{{if .Service.RequireSignInView}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.mail_notify"}}</dt>