{% if alerts %} {% for alert in alerts %} {% endfor %}
Detected Type IP Detail Action
{{ alert.detected_at|date:"M d H:i" }} {% if alert.alert_type == 'rate_limit' %}🚨{% else %}⚠️{% endif %} {{ alert.get_alert_type_display }} {{ alert.remote_addr }} {{ alert.detail }}
{% else %}
No active threat alerts
{% endif %}