{# /** * @file heartbeat-stream.html.twig * Default theme implementation to present Heartbeat stream data. * * This template is used when viewing Heartbeat stream pages. * * * Available variables: * - content: A list of content items. Use 'content' to print all content, or * - attributes: HTML attributes for the container element. * * @see template_preprocess_heartbeat_stream() * * @ingroup themeable */ #}
{% if content %} {{- content -}} {% endif %} {% autoescape false %} {% for message in messages %} {#{{ message }}#}
{{ message.user }}
{{ message.timeAgo }}
{{ message.heartbeat }}
{{ message.likeFlag }}
{{ message.unlikeFlag }}
{% for comment in message.comments %}
{{ comment.username }}{{ comment.owner }}{{ comment.timeAgo }} {{ comment.commentLike}} {{ comment.body }} {% for subComment in comment.subComments %}
{{ subComment.username }}{{ subComment.owner }}{{ subComment.timeAgo }} {{ subComment.commentLike}} {{ subComment.body }}
{% endfor %} {{ comment.reply }}
{% endfor %}
{{ message.commentForm }}
{% endfor %} {% endautoescape %}