summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/displayheaders.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/displayheaders.html')
-rw-r--r--src/jwebmail/templates/displayheaders.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/jwebmail/templates/displayheaders.html b/src/jwebmail/templates/displayheaders.html
index ce9ea6e..7125a12 100644
--- a/src/jwebmail/templates/displayheaders.html
+++ b/src/jwebmail/templates/displayheaders.html
@@ -10,11 +10,15 @@
{% include '_folders.html' %}
- {% if loginmessage is defined %}
- <p id=loginmessage>
- {{ loginmessage }}
- </p>
- {% endif %}
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+ <p class="notification is-info">
+ {{ message }}
+ </p>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
{% include '_top_nav.html' %}