{% set widgetname="slide" %} {% extends 'Pagewidget/widget.twig' %} {% block widgetaction %} {% if canadd %} {% endif %} {% endblock %} {% block widgetbody %} {% set intervalmilli = interval * 1000 %}
{% if slides is empty and canadd %}

Gérer le Carrousel
{% endif %} {% for slide in slides %} {% if slide.url is not empty %} {% set url=slide.url|replace({'#login#': username}) %} {% if slide.target == 'frame' %} {% else %} {% endif %} {% endif %}
{% if slide.title is not empty %}

{{slide.title}}

{% endif %} {% if slide.subtitle is not empty %} {{slide.subtitle}} {% endif %}
{% if slide.url is not empty %}
{% endif %} {% endfor %}
{% endblock %}