{% extends "base.html" %} {% from "_macros.html" import ts, badge, pager, agent_link, msg_link, delivery_mix, thread_link %} {% block content %}

Messages

clear
{% if filters.correlation_id %}

Thread {{ thread_link(filters.correlation_id) }}

{% endif %} {% if filters.reply_to %}

Replies to {{ msg_link(filters.reply_to) }}

{% endif %}
{% if data['items'] %}
{% for m in data['items'] %} {% endfor %}
WhenKindFromTo BodyThreadDeliveries
{{ ts(m.created_at) }} {{ badge(m.kind) }}{% if m.intent %}
{{ m.intent }}
{% endif %}
{{ agent_link(m.sender, m.sender_handle) }} {% if m.to %}{{ agent_link(m.to, m.to_handle) }}{% else %}{% endif %} {{ msg_link(m.id) }} {{ m.body_preview }}{% if m.body_len and m.body_len > m.body_preview | length %}{% endif %} {% if m.reply_to %}
↳ replies to {{ msg_link(m.reply_to) }}
{% endif %}
{{ thread_link(m.correlation_id) }} {{ delivery_mix(m.deliveries) }}
{{ pager(request, data['next_cursor']) }} {% else %}

No messages match.

{% endif %}
{% endblock %}