{% load i18n %} {% if event.source_type == "manual" %}

{% trans "Manual fireworks report" %}

{% blocktrans with date=event.approved_at|date:"j M Y, H:i" %}Approved {{ date }} · Reported manually{% endblocktrans %}

{% trans "Report details" %}

{% trans "Occurrences" %}{{ event.occurrences }}
{% trans "Location" %}{{ event.location|default:"Not recorded" }}
{% trans "Captured location" %}{{ event_h3_cell|default:"Not recorded" }}
{% trans "Direction" %}{{ event.direction_display }}
{% if event.direction_accuracy_degrees is not None %}
{% trans "Compass accuracy" %}±{{ event.direction_accuracy_degrees|floatformat:"-1" }}°
{% endif %}
{% trans "Visually confirmed" %}{% if event.visually_confirmed %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}

{% trans "This was a manual report; there is no audio classification attached." %}

{% else %}

{{ event.original_filename }}

{% blocktrans with date=event.approved_at|date:"j M Y, H:i" duration=result.duration_seconds|default:"—" frames=result.frames_analysed|default:"—" %}Approved {{ date }} · {{ duration }} seconds · {{ frames }} frames{% endblocktrans %}

{% trans "Top sound classes" %}

{% for prediction in predictions %}
{{ prediction.label }}{{ prediction.score_display }}
{% empty %}

{% trans "No predictions returned." %}

{% endfor %}

{% trans "Notable moments" %}

{% for prediction in peak_predictions %}
{{ prediction.label }}{{ prediction.time_seconds|default:"—" }}s · {{ prediction.score_display }}
{% empty %}

{% trans "No peak events returned." %}

{% endfor %} {% endif %}