Properly display notifications when logging in

This commit is contained in:
Oliver 2021-11-08 09:34:57 +11:00
parent 079c08ef7d
commit ef75838ab8

View File

@ -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>