vpnmanager/templates/manager/notifications.html
2019-01-24 14:52:55 +01:00

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 %}