diff options
author | Alexandr Danilov <bitbucket@modos189.ru> | 2015-08-08 00:08:29 +0300 |
---|---|---|
committer | Alexandr Danilov <bitbucket@modos189.ru> | 2015-08-08 00:08:29 +0300 |
commit | c54ea989a3cadf49dbb991a4a270ebee38ac18d9 (patch) | |
tree | c06b7a70d1c65da355fa8f305e6a1a51f75bee6d /src | |
parent | 342f0cc55aabd64dad2b819ca1c2fde6224b9579 (diff) | |
download | wallabag-c54ea989a3cadf49dbb991a4a270ebee38ac18d9.tar.gz wallabag-c54ea989a3cadf49dbb991a4a270ebee38ac18d9.tar.zst wallabag-c54ea989a3cadf49dbb991a4a270ebee38ac18d9.zip |
fix #1281 (notifications when we star articles are buggy)
All notification corrected
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | 8 |
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 |