{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %} {% if blancco_todo.total and request.endpoint not in ('blancco_todo', 'imaging_tiles') %} {% endif %} {% block content %}{% endblock %}