{# Run-history fragment: the automation's recent runs (Jobs tagged with its id). Self-polls every 5s and swaps itself, so in-progress runs appear and tick up to completion without a manual reload. Rendered inline on first load (included by automations.html) and re-served by the `automations_runs` endpoint. #}

{{ _("Run history") }}

{% if recent_runs %} {% else %}

{% if selected.enabled %} {{ _("No runs yet.") }} {% else %} {{ _("No runs yet — this automation is disabled.") }} {% endif %}

{% endif %}