1
0
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:
quark
2025-07-05 18:26:31 +02:00
parent 8783a63d7f
commit c36f8c25a2
5 changed files with 31 additions and 1 deletions

View File

@ -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>