bugfix : disparition liste dept page accueil

This commit is contained in:
iziram 2023-04-18 14:02:07 +02:00
parent 70a52e7ce1
commit 71aa49b1b1

View File

@ -64,11 +64,14 @@
{% block content %} {% block content %}
<div class="container flashes"> <div class="container flashes">
{% include "flashed_messages.j2" %} {% include "flashed_messages.j2" %}
</div>
<div class="container">
{# application content needs to be provided in the app_content block #} {# application content needs to be provided in the app_content block #}
{% block app_content %}{% endblock %} {% block app_content %}{% endblock %}
</div> </div>
<script> <script>
setTimeout(function() { setTimeout(function () {
var flashes = document.getElementsByClassName("flashes")[0]; var flashes = document.getElementsByClassName("flashes")[0];
if (flashes) { if (flashes) {
flashes.style.display = "none"; flashes.style.display = "none";