diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-01 23:18:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-08 11:39:56 +0100 |
commit | 2113b7baf70571b22db3fd78d3bcf1c88352d32d (patch) | |
tree | 621d46dcd4d707f3a3bcf813593028101b9cf9d2 /ishtar_common/templates/base.html | |
parent | 1b6f46cb1b9181cf82c3c5b8f5b5ed80ab72c327 (diff) | |
download | Ishtar-2113b7baf70571b22db3fd78d3bcf1c88352d32d.tar.bz2 Ishtar-2113b7baf70571b22db3fd78d3bcf1c88352d32d.zip |
Message mecanism with session ID
Diffstat (limited to 'ishtar_common/templates/base.html')
-rw-r--r-- | ishtar_common/templates/base.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html index fa43df6bc..c11ae524e 100644 --- a/ishtar_common/templates/base.html +++ b/ishtar_common/templates/base.html @@ -97,6 +97,16 @@ <div id="window_wrapper"> <div id="window" role="tablist"></div> </div> + {% if MESSAGES %}{% for message, message_type in MESSAGES %} + <div class="alert alert-{{message_type}} alert-dismissible fade show" + role="alert"> + {{message}} + <button type="button" class="close" data-dismiss="alert" + aria-label="Close"> + <span aria-hidden="true">×</span> + </button> + </div> + {% endfor %}{% endif %} {% if warnings %}{% for warning in warnings %} <div class="alert alert-warning alert-dismissible fade show" role="alert"> {{warning}}<button type="button" class="close" data-dismiss="alert" aria-label="Close"> |