{% extends 'generic/object.html' %} {% load helpers %} {% block content %}
{% if not has_coords %}
No coordinates — run Geocode Sites. {% if perms.dcim.change_site %}Geocode Sites{% endif %}
{% endif %} {% include 'netbox_poweroutage/inc/radius.html' %}
Outages within {{ radius }} miles {{ matches|length }} {{ meters_total }} customers out
{% if map_data %}{% include 'netbox_poweroutage/inc/map.html' %}{% endif %}
{% for m in matches %} {% empty %} {% endfor %}
DistanceUtilityCustomers outCauseStatusStartedEst. restoreSource
{% if m.match_kind == 'county' %}County-level report{% else %}{{ m.distance_miles|floatformat:1 }} mi{% endif %} {{ m.outage.utility_name }} {{ m.outage.meters_out|placeholder }} {{ m.outage.cause|placeholder }} {{ m.outage.status|placeholder }} {% if m.outage.started_at %}{{ m.outage.started_at|date:"Y-m-d H:i" }}{% else %}—{% endif %} {% if m.outage.estimated_restore_at %}{{ m.outage.estimated_restore_at|date:"Y-m-d H:i" }}{% else %}—{% endif %} {{ m.outage.source|upper }}
No active outages within {{ radius }} miles.
{% include 'netbox_poweroutage/inc/feeds.html' %}
{% endblock %}