{% extends "base.html" %} {% load i18n static wagtailiconchooser_tags %} {% block body_class %}cap-alert-page{% endblock %} {% block extra_css %} {% endblock extra_css %} {% block content %}

{% if page.alert_info.value.headline %} {{ page.alert_info.value.headline }} {% else %} {{ page.title }} {% endif %}

{% if page.alert_info %}
{% translate "Event" %}:
{% if page.alert_info.value.event_icon %}
{% svg_icon name=page.alert_info.value.event_icon %}
{% endif %}
{{ page.alert_info.value.event }}
  • {% translate "Issued" %}: {{ page.sent }}
  • {% translate "Effective" %}: {% if page.alert_info.value.effective %} {{ page.alert_info.value.effective }} {% else %} {{ page.sent }} {% endif %}
  • {% if page.alert_info.value.onset %}
  • {% translate "Onset" %}: {{ page.alert_info.value.onset }}
  • {% endif %}
  • {% translate "Expires" %}: {{ page.alert_info.value.expires }}
{% svg_icon name="time" %}
{% translate "Urgency:" %}
{{ page.alert_info.value.urgency }}
{% svg_icon name="warning" %}
{% translate "Severity" %}:
{{ page.alert_info.value.severity }}
{% svg_icon name="crosshairs" %}
{% translate "Certainty" %}:
{{ page.alert_info.value.certainty }}
{% endif %}
{% if page.xml_link and not request.is_preview %}
{% svg_icon name="cap-alert" %}
{% endif %}
{% translate "Alert Severity" %}:
{% translate "Extreme" %}
{% translate "Severe" %}
{% translate "Moderate" %}
{% translate "Minor" %}
{% translate "Unknown" %}
{% svg_icon name="location" %}
{% translate "Affected area" %}
{{ page.affected_area }}
{% translate "Event" %}
{% if page.alert_info.value.event_icon %}
{% svg_icon name=page.alert_info.value.event_icon %}
{% endif %}
{{ page.alert_info.value.event }}
{% translate "Event Description" %}

{{ page.alert_info.value.description }}

{% if page.alert_info.value.instruction %}
{% translate "Instructions" %}
{{ page.alert_info.value.instruction }}
{% endif %}
{% endblock content %} {% block extra_js %} {% endblock %}