This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-11-16 08:10:35 +00:00
|
|
|
{% if messages %}
|
|
|
|
{% for msg in messages %}
|
2019-02-25 13:10:29 +00:00
|
|
|
<div class="{% if toast %}toast-pf{% endif %} alert alert-{{ msg.level_tag }}">
|
2018-11-16 08:10:35 +00:00
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
|
<span class="pficon pficon-close"></span>
|
|
|
|
</button>
|
2018-11-23 08:44:22 +00:00
|
|
|
{% if msg.level_tag == 'danger' %}
|
|
|
|
<span class="pficon pficon-error-circle-o"></span>
|
|
|
|
{% elif msg.level_tag == 'warning' %}
|
|
|
|
<span class="pficon pficon-warning-triangle-o"></span>
|
|
|
|
{% elif msg.level_tag == 'success' %}
|
|
|
|
<span class="pficon pficon-ok"></span>
|
|
|
|
{% elif msg.level_tag == 'info' %}
|
|
|
|
<span class="pficon pficon-info"></span>
|
|
|
|
{% endif %}
|
2018-11-16 08:10:35 +00:00
|
|
|
<strong>{{ msg.message|safe }}</strong>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|