2022-07-01 10:51:48 +02:00
|
|
|
{% for label, messages in app.flashes %}
|
|
|
|
{% for message in messages %}
|
|
|
|
<div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
|
|
|
|
{{ message | trans }}
|
2022-08-12 09:59:48 +02:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
2021-04-12 12:23:50 +02:00
|
|
|
</button>
|
2021-04-09 15:14:35 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2022-07-01 10:51:48 +02:00
|
|
|
{% endfor %}
|
2022-07-02 11:33:42 +02:00
|
|
|
{% if app.request.server.get('DEMO_MODE') == 'true' %}
|
2022-07-01 12:00:36 +02:00
|
|
|
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
|
|
|
{{ 'demomode.flashnotice' | trans }}
|
2022-08-12 09:59:48 +02:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
2022-07-01 12:00:36 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
2022-07-02 11:33:42 +02:00
|
|
|
{% endif %}
|