{% if error %}

{{ error }}

{% endif %} {% if alerts %}

Showing {{ total }} alert{{ '' if total == 1 else 's' }} since {{ since }} (server limit {{ limit }}{% if total == limit %} — at cap, raise limit if more expected{% endif %}).

{% for a in alerts %} {% set src = a.source or {} %} {% endfor %}
ID Scope:Value Reason Country AS Events Decisions Created
{{ a.id }} {{ src.scope or a.scope or '?' }}:{{ src.value or a.value or '?' }} {{ a.scenario }} {% if a.events_count and a.events_count > 1 %}×{{ a.events_count }}{% endif %} {{ src.cn or '—' }} {% if src.as_number %}{{ src.as_number }}{% if src.as_name %} {{ src.as_name }}{% endif %}{% else %}—{% endif %} {{ a.events_count or 0 }} {% if a.decisions %} {% for dec in a.decisions %} {{ dec.type }} {{ dec.duration }}{% if dec.simulated %} sim{% endif %} {% endfor %} {% else %} — {% endif %}
{% else %} {% if not error %}

No alerts in window.

{% endif %} {% endif %}