{% comment %} One trigger in the drawer. `row` carries the trigger, its spec, a one-line summary and (for ref triggers) its per-connection links. {% endcomment %}
{{ row.spec.label|default:row.trigger.type }} #{{ row.trigger.priority }} {% if not row.trigger.enabled %} Paused {% endif %}

{{ row.summary }}

{% comment %} A trigger the platform never delivers looks identical to a working one here — enabled, bound, correct — so the reason it is quiet has to be on the row itself. See TriggerSpec.unavailable. {% endcomment %} {% if row.spec.unavailable %}

{{ row.spec.unavailable }}

{% endif %}
{% if row.trigger.channel_connection %} {% include "partials/_platform_icon.html" with platform=row.trigger.channel_connection.platform size="sm" %} {{ row.trigger.channel_connection.display_name }} {% else %} All matching channels {% endif %}
{% if row.links %} {% include "flows/_trigger_ref_links.html" with trigger=row.trigger links=row.links %} {% endif %}
{% if can_edit %} {% comment %} Compact on purpose: the drawer is w-96, which leaves a row about 326px once its paddings are gone. Full-size .btn-outline buttons came to about 350px and pushed Delete past the card. Same pieces as the inbox rule rows (inbox/_rule_rows.html): round icon buttons to reorder, small pills for the words. Always on a line of its own (w-full). Once the controls fitted beside the text, the text column — min-w-0 so long summaries can truncate — gave up its width to them and wrapped one word per line. {% endcomment %}
{% endif %}