mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Added admin settings page. Improve dynamic_preferences integration.
This commit is contained in:
@ -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 %}
|
Reference in New Issue
Block a user