{{_("Conversation")}}:
{%- set hidden = [] %}
{%- for p2_ti, p1_ti, tinfo, n1_ti, n2_ti
in thread|thread_upside_down|with_context(2) %}
{%- set tmid = tinfo[0] %}
{%- set ascii = tinfo[1] %}
{%- set tmeta = result.data.metadata[tmid] %}
{%- set tsubject = bare_subject(tmeta.subject) %}
{%- set tfrom = result.data.addresses[tmeta.from.aid] %}
{%- set nearby = ((5 >= thread|length) or mid in (p2_ti[0], p1_ti[0], tmid, n1_ti[0], n2_ti[0])) %}
{%- if not nearby %}{% do hidden.append(tmid) %}{% endif %}
{%- set new_subject = ((p1_ti and (tsubject !=
bare_subject(result.data.metadata[p1_ti[0]].subject))) or
(n1_ti and (tsubject !=
bare_subject(result.data.metadata[n1_ti[0]].subject)))) %}
{{ ascii }}
{{ tmeta.from.fn }}
{%- if new_subject %}
{{ tsubject }}
{%- endif %}
{%- endfor %}
{% if hidden %}
{% endif %}