mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Properly display notifications when logging in
This commit is contained in:
parent
079c08ef7d
commit
ef75838ab8
@ -190,6 +190,18 @@ $(document).ready(function () {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
moment.locale('{{ request.LANGUAGE_CODE }}');
|
moment.locale('{{ request.LANGUAGE_CODE }}');
|
||||||
|
|
||||||
|
// Account notifications
|
||||||
|
{% if messages %}
|
||||||
|
{% for message in messages %}
|
||||||
|
showMessage(
|
||||||
|
'{{ message }}',
|
||||||
|
{
|
||||||
|
style: 'info',
|
||||||
|
}
|
||||||
|
);
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user