fix #1281 (notifications when we star articles are buggy)

All notification corrected
This commit is contained in:
Alexandr Danilov 2015-08-08 00:08:29 +03:00
parent 342f0cc55a
commit c54ea989a3

View file

@ -51,4 +51,12 @@
</div>
</div>
</footer>
{% endblock %}
{% block messages %}
{% for flashMessage in app.session.flashbag.get('notice') %}
<script>
Materialize.toast('{{ flashMessage }}', 4000);
</script>
{% endfor %}
{% endblock %}