{# alerts/_history_rows.html — the history: for one rule, how often it fired and for how long in all; then its episodes (#5316), swapped in on a range or rule change. The rule column shows only across rules, Notified and Action only when the range has something to put in them. Episodes come a page of transitions at a time (alerts/_history_page.html). #} {% from "_macros.html" import empty_state %} {% if chosen and verdict %}
{%- if verdict.fired %}Fired {{ verdict.fired }} time{{ "s" if verdict.fired != 1 }} in the last {{ current_range }} {%- if verdict.seconds %}, {{ verdict.seconds|duration }} in all{% endif %} {%- if verdict.ongoing %} · firing now{% endif %} {%- else %}Never fired in the last {{ current_range }}{% endif %} · fires when {{ rule_condition(chosen) }} on {{ chosen.resource_name }}
{% endif %} {% if episodes %}| When | {% if not chosen %}Rule | {% endif %}What happened | Worst reading | {% if show_notified %}Notified | {% endif %} {% if show_action %}Action | {% endif %}
|---|