{% extends "issues/base.html" %} {% load static %} {% load stricter_templates %} {% load add_to_qs %} {% load humanize %} {% block tab_content %}
{{ 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 #}
{# nav="last": when doing a new search on an event-page, you want the most recent matching event to show up #}
{% 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 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?" #} {% 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 %}
{% endblock %}