]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix #1281 (notifications when we star articles are buggy)
authorAlexandr Danilov <bitbucket@modos189.ru>
Fri, 7 Aug 2015 21:08:29 +0000 (00:08 +0300)
committerAlexandr Danilov <bitbucket@modos189.ru>
Fri, 7 Aug 2015 21:08:29 +0000 (00:08 +0300)
All notification corrected

src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig

index 54bba9a6a68a0216856090dcf322fbe2a786de88..632f8c8bb4cee4be34c95457c3f8ff52a22658e9 100644 (file)
             </div>
         </div>
     </footer>
+{% endblock %}
+
+{% block messages %}
+    {% for flashMessage in app.session.flashbag.get('notice') %}
+        <script>
+            Materialize.toast('{{ flashMessage }}', 4000);
+        </script>
+    {% endfor %}
 {% endblock %}
\ No newline at end of file