diff --git a/cps/admin.py b/cps/admin.py index 8f627bd2..d20a0100 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -635,6 +635,7 @@ def _configuration_update_helper(): _config_checkbox_int(to_save, "config_uploading") _config_checkbox_int(to_save, "config_anonbrowse") _config_checkbox_int(to_save, "config_public_reg") + _config_checkbox_int(to_save, "config_register_email") reboot_required |= _config_checkbox_int(to_save, "config_kobo_sync") _config_checkbox_int(to_save, "config_kobo_proxy") diff --git a/cps/config_sql.py b/cps/config_sql.py index 08636f6d..ab464d0d 100644 --- a/cps/config_sql.py +++ b/cps/config_sql.py @@ -77,6 +77,7 @@ class _Settings(_Base): config_uploading = Column(SmallInteger, default=0) config_anonbrowse = Column(SmallInteger, default=0) config_public_reg = Column(SmallInteger, default=0) + config_register_email = Column(SmallInteger, default=0) config_remote_login = Column(Boolean, default=False) config_kobo_sync = Column(Boolean, default=False) diff --git a/cps/static/css/style.css b/cps/static/css/style.css index 42d71eda..9ec0d7fe 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -213,7 +213,7 @@ span.glyphicon.glyphicon-tags { .panel-body {background-color: #f5f5f5; } .spinner {margin: 0 41%; } .spinner2 {margin: 0 41%; } - +.intend-form { margin-left:20px; } table .bg-dark-danger {background-color: #d9534f; color: #fff; } table .bg-dark-danger a {color: #fff; } table .bg-dark-danger:hover {background-color: #c9302c; } @@ -302,3 +302,4 @@ div.log { white-space: nowrap; padding: 0.5em; } + diff --git a/cps/templates/config_edit.html b/cps/templates/config_edit.html index a9fb23b0..77a60c1b 100644 --- a/cps/templates/config_edit.html +++ b/cps/templates/config_edit.html @@ -179,7 +179,7 @@