mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-07-06 23:44:01 +02:00
Add banner #80 (with django-constance
This commit is contained in:
@ -191,7 +191,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{# TODO Add banners #}
|
||||
{% if config.BANNER_MESSAGE %}
|
||||
<div class="alert alert-{{ config.BANNER_TYPE }}">
|
||||
{{ config.BANNER_MESSAGE }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% block content %}
|
||||
<p>Default content...</p>
|
||||
|
Reference in New Issue
Block a user