{% extends "base.html" %} {% load common_extras %} {% comment %} The sequence list. Everything below the toolbar is _list_rows.html, so the table has exactly one renderer: the filters fetch it, and every mutation answers with a `sequencesChanged` event that makes it re-fetch itself. Colours come from theme tokens rather than utility palettes, and no Tailwind utility here sets a property a design-system class already owns — ground rule 9 in docs/agent-prompts/layer-2.md. {% endcomment %} {% block title %}Sequences · DemandTrail Messaging{% endblock %} {% comment %} Sequences is the middle tab of the automations strip, so it carries the strip too — without it the Flows and Templates tabs vanished the moment this one was clicked. The header has the Flows page's shape for the same reason: three tabs of one section should not move the title about as you switch between them. {% endcomment %} {% block sub_nav %}{% include "partials/_sub_nav.html" with groups=flow_tab_groups %}{% endblock %} {% block alpine_components %}{{ block.super }}{% include "partials/_list_behaviours.html" %}{% endblock %} {% block content %}
{% if can_edit %} {% modal "new-sequence" title="New sequence" close_on="sequencesChanged" %}
{% endmodal %} {% endif %}
{% filter_popover groups=filter_groups onchange="reload()" target="#sequence-rows" count=sequences|length noun="sequence" %}
{% filter_chips groups=filter_groups onchange="reload()" %}
{% include "campaigns/_list_rows.html" %}
{% endblock %}