aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
index 54bba9a6..632f8c8b 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -51,4 +51,12 @@
51 </div> 51 </div>
52 </div> 52 </div>
53 </footer> 53 </footer>
54{% endblock %}
55
56{% block messages %}
57 {% for flashMessage in app.session.flashbag.get('notice') %}
58 <script>
59 Materialize.toast('{{ flashMessage }}', 4000);
60 </script>
61 {% endfor %}
54{% endblock %} \ No newline at end of file 62{% endblock %} \ No newline at end of file