<div class="indice-actu" data-ulrinfotrafic="{{ urlObjet }}">
    <h3 class="info_trafic">{{ typeActu }}
        <a class="btn btn-link pull-right" href="/fr/rss/{{ source }}" title="{{ 'label.footer.rss.title'|trans }}" target="_blank">
            <span class="picto-social_rss"></span><span class="sr-only">RSS</span>
        </a>
    </h3>
    <div id="infos">
        <div id="bloc_actu_ligne">
            <div class="infotraf">
                {% if affichage.withIndice == "true" and lines is not empty %}
                    <div class="tetinfotraf">
                        <img class="indice" role="button" data-code="all" alt="{{ 'label.tout_le_reseau'|trans }}" src="/img/indiceslignes/all.png" data-toggle="tooltip" data-placement="top" title="{{ 'label.tout_le_reseau'|trans }}">
                        {% for line in lines %}
                            {% if  affichage.withTitreAccroche == "false" and affichage.withPhraseAccroche == "false" %}
                                <a href="{{ line.urlIndice }}" title="{{ 'label.affich_infotraf_de'|trans }} {{ line.code }}"><img class="indice" data-code="{{ line.code }}" src="/photos/__IndicesLignes/{{ line.code }}.png" alt="{{ line.code }}"></a>
                            {% else %}
                                <span class="gravit"><img class="indice" data-code="{{ line.code }}" src="/photos/__IndicesLignes/{{ line.code }}.png" alt="{{ line.code }}" role="button" ></span>
                            {% endif %}
                        {% endfor %}
                    </div>
                    {% for actu in actus %}
                        {% if  affichage.withTitreAccroche == "true" or affichage.withPhraseAccroche == "true" %}
                            <div class="actu" data-lines="{% for line in actu.lignes%}{{ line.code }},{% endfor %}" {% if affichage.withGravite is defined and affichage.withGravite == "true" and  actu.gravite is not null%} data-gravite="{{ actu.gravite.id }}" {% endif %}>
                                {% if affichage.withTitreAccroche == "true" %}
                                    <a href=""  class="lien_actu">
                                        <strong>{{ actu.titre }}</strong>
                                        {% if affichage.withDate == "true" %}
                                            <small>{{ actu.agenda | raw }}</small>
                                        {% endif %}
                                    </a>
                                {% endif %}

                                {% if affichage.withPhraseAccroche == "true" %}
                                    <p>{{ actu.message }}</p>
                                {% endif %}
                                <hr>
                            </div>
                        {% endif %}
                    {% endfor %}
                {% else %}
                    <div class="well well-info">
                        <p class="text-center">{{ 'label.widget.pas_de_perturb'|trans }}</p>
                    </div>
                {% endif %}
            </div>
        </div>
    </div>
    <a href="{{ urlObjet }}" class="btn btn-warning">{{ 'label.all_the'|trans }} {{ typeActu }}...</a>
</div>
<script nonce="{{ ContentSecurityPolicyNonceService.nonce }}" type="application/javascript">
    var preselect = "{{ preselect|default('undefined') }}";
</script>