{{ issue.digested_event_count|intcomma }} events in total{% if q %} — {{ event_qs_count }} found by search{% endif %}.
{# copy/paste of _event_nav, but not based on any event (we have none), prev/next are meaningless also; first/last only when we have an event_qs to navigate through #}
{% if event_qs_count %}
{% else %}
{% endif %}
{% if event_qs_count %}
{% else %}
{% endif %}
{% if event_qs_count %}404: Event missing from Bugsink{% else %}No Events{% endif %}
{# We apply the heuristic (textually) that if you have some events in your event_qs, but no current event, you're in a "404-like" ("This event not found") state #}
{# and if there's really no events in the qs, that fact is what you should focus on. #}
{# This works well in practice (better than trying to match these texts to "where in _get_event() did we go wrong?" #}
{# note: this _even_ works for the interrupted-shows-"many" case, because the implication is "many records" -> text says "many" -> python evaulates to True #}
{% if event_qs_count %}
This event cannot be found. It could have been removed manually or as part of the eviction process.
{% elif q %}
No events found for this search.
{% else %}
No events found. They could have been removed manually or as part of the eviction process.
{% endif %}