{% for warning in warnings %}
    {% if warning == 'No warnings found.' %}
    <div class="alert alert-success">
        <pre>{{warning}}</pre>
    </div>
    {% else %}
    <div class="alert alert-warning">
        <pre>{{warning}}</pre>
    </div>
    {% endif %}
{% endfor %}
