{% import "macros.html" as m %} {% import "icons.html" as i %}
{{ i.ic('chevron-left') }}
{% if dialog.others %}{% endif %} {{ header_name }}
{{ i.ic('video') }}
{% for group in groups %}
{{ m.date_label(group.date) }} {{ m.time_label(group.messages[0].timestamp) }}
{% for msg in group.messages %} {% set side = "self" if msg.is_self else "other" %}
{% if msg.reply_to and msg.content.__class__.__name__ == "Text" %}
{{ m.reply_snippet(msg.reply_to) }}
{{ msg.content.body }}
{% else %} {{ m.content_block(msg, caps, "imsg") }} {% endif %}
{{ m.reactions(msg) }} {% if is_last_self(msg) %}
{{ "Read" if last_self_read else "Delivered" }}
{% endif %} {% endfor %} {% endfor %} {% if typing and dialog.others %}
{{ m.typing_dots() }}
{% endif %}
{{ i.ic('plus') }}
iMessage
{{ i.ic('arrow-up') }}