templates/message.html.twig line 1

Open in your IDE?
  1. {% for key,messages in app.flashes %}
  2. {% for message in messages %}
  3. <script type="text/javascript">
  4. $.notify('{{ message }}',{
  5. element: 'body',
  6. position: null,
  7. type: '{{ key }}',
  8. allow_dismiss: true,
  9. newest_on_top: false,
  10. globalPosition: 'top right',
  11. showProgressbar: false,
  12. placement: {
  13. from: "top",
  14. align: "right"
  15. },
  16. style: 'bootstrap',
  17. className: '{{ key }}',
  18. offset: 20,
  19. spacing: 10,
  20. z_index: 9999,
  21. delay: 5000,
  22. timer: 1000,
  23. url_target: '_blank',
  24. mouse_over: null,
  25. animate: {
  26. enter: 'animated fadeInDown',
  27. exit: 'animated fadeOutUp'
  28. },
  29. onShow: null,
  30. onShown: null,
  31. onClose: null,
  32. onClosed: null,
  33. icon_type: 'class'
  34. });
  35. </script>
  36. {% endfor %}
  37. {% endfor %}