{% if flashInfo is defined and flashInfo|length > 0 %}
{% for flash in flashInfo %}
{% if flash.flashEnligne == 1 %}
{% endif %}
{% endfor %}
<ul id="flux" data-pos="1" data-nbFlux="{{ flashInfo|length }}">
{% set cmptFlux = 0 %}
{% for flash in flashInfo %}
{% set cmptFlux = cmptFlux + 1 %}
<li id="flux_{{ cmptFlux }}" class="{% if cmptFlux == 1 %}current{% endif %}">
{% if flash.flashUrl != "" and flash.flashUrl != null %}<a href="{{ flash.flashUrl }}" target="_blank"
rel="noreferrer">{% endif %}
<p>{{ flash.flashMessage }}</p>
{% if flash.flashUrl != "" and flash.flashUrl != null %}</a>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}