5 lines
360 B
HTML
5 lines
360 B
HTML
{% for notification in notifications %}
|
|
<div class="alert alert-{% if notification.status == 0 %}info{% elif notification.status == 1 %}warning{% else %}danger{% endif %}">
|
|
<strong>{% if notification.status == 0 %}Notice:{% elif notification.status == 1 %}Warning:{% else %}Emergency:{% endif %}</strong> {{ notification.text }}
|
|
</div>
|
|
{% endfor %}
|