mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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…
Reference in New Issue
Block a user