heartbeat-stream.html.twig 701 B

1234567891011121314151617181920212223242526272829
  1. {#
  2. /**
  3. * @file heartbeat-stream.html.twig
  4. * Default theme implementation to present Heartbeat stream data.
  5. *
  6. * This template is used when viewing Heartbeat stream pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_heartbeat_stream()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div class="heartbeat-stream">
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. {% autoescape false %}
  23. {% for message in messages %}
  24. <div{{ attributes.addClass('heartbeat-message') }}>
  25. {{ message }} <br>
  26. </div>
  27. {% endfor %}
  28. {% endautoescape %}
  29. </div>