{#
	This template is processed using the Twig template engine
	Learn more at: http://twig.sensiolabs.org/doc/templates.html
#}

{% if showdata.alerts is not empty and wunderground.alerts is not empty %}

	{% for alert in wunderground.alerts.alerts %}
	<div class="wu-alert wu-alert-{{ alert.type }}">
		<h3><a href="{{alert.wuiurl}}">{{ alert.description }}</a></h3>
		<dl>
			<dt>{{ strings.alert_issued }}</dt><dd>{{ alert.issued.pretty }}</dd>
			<dt>{{ strings.alert_expires }}</dt><dd>{{ alert.expires.pretty }}</dd>
		</dl>
	</div>
	{% endfor %}
{% endif %}
