Added admin settings page. Improve dynamic_preferences integration.

This commit is contained in:
2018-12-29 17:11:20 +02:00
parent 33ee71dcbb
commit 8eca3dc7a9
20 changed files with 233 additions and 82 deletions

View File

@ -24,9 +24,17 @@
{% endif %}
{% endif %}
<h5>Register</h5>
{% if not global_preferences.general__allow_registrations %}
<div class="alert alert-danger" role="alert">
Registrations are disabled by the administrator!
</div>
{% crispy form %}
{% else %}
<h5>Register</h5>
{% crispy form %}
{% endif %}
</div>
{% endblock %}