show flash messages again

This basically restores the behaviour, that got removed in
ecdf0c25b3 during refactoring.

(cherry picked from commit 88f992de16)

# Conflicts:
#	core/admin/mailu/ui/templates/base.html
This commit is contained in:
lub
2021-02-13 13:34:44 +01:00
committed by Mergify
parent 6b5bb5fcd1
commit 0cd274491a

View File

@@ -1,5 +1,10 @@
<<<<<<< HEAD
{%- import "macros.html" as macros %} {%- import "macros.html" as macros %}
{%- import "bootstrap/utils.html" as utils %} {%- import "bootstrap/utils.html" as utils %}
=======
{% import "macros.html" as macros %}
{% import "bootstrap/utils.html" as utils %}
>>>>>>> 88f992de (show flash messages again)
<!doctype html> <!doctype html>
<html lang="{{ get_locale() }}" data-static="/static/"> <html lang="{{ get_locale() }}" data-static="/static/">
<head> <head>
@@ -64,6 +69,18 @@
</div> </div>
</div> </div>
</div> </div>
<<<<<<< HEAD
=======
<h1>
{% block title %}{% endblock %}
<small>{% block subtitle %}{% endblock %}</small>
</h1>
</section>
<section class="content">
{{ utils.flashed_messages(container=False) }}
{% block content %}{% endblock %}
>>>>>>> 88f992de (show flash messages again)
</section> </section>
<div class="content"> <div class="content">
{{ utils.flashed_messages(container=False, default_category='success') }} {{ utils.flashed_messages(container=False, default_category='success') }}