From ef75838ab808bfe4f510c4216b3ac73bd72d66c3 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 8 Nov 2021 09:34:57 +1100 Subject: [PATCH] Properly display notifications when logging in --- InvenTree/templates/base.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/InvenTree/templates/base.html b/InvenTree/templates/base.html index 856deac4be..4321939b6c 100644 --- a/InvenTree/templates/base.html +++ b/InvenTree/templates/base.html @@ -190,6 +190,18 @@ $(document).ready(function () { {% endif %} moment.locale('{{ request.LANGUAGE_CODE }}'); + + // Account notifications + {% if messages %} + {% for message in messages %} + showMessage( + '{{ message }}', + { + style: 'info', + } + ); + {% endfor %} + {% endif %} });