{% set theme = app.session.get('theme') %} {% if theme is not empty %} {{ include('@Theme/'~theme~'/function.html.twig') }} {% endif %} {% import "@CadolesPortal/Pagewidget/constants.twig" as constants %} {% set stylewidget = constants.mystylewidget(entity) %} {% set stylewidgetmenu = constants.mystylewidgetmenu(entity) %} {% set stylewidgetheader = constants.mystylewidgetheader(entity) %} {% set stylewidgetbody = constants.mystylewidgetbody(entity) %} {% set stylewidgetbodyimage = constants.mystylewidgetbodyimage(entity) %} {% set color = app.session.get('color') %} {% set stylelink = "color:#" ~ entity.colorheaderfont ~ ";" %} {% if entity.colorheaderfont is null %} {% set stylelink = "color:#" ~ color['fontcolorhover'] ~ ";" %} {% endif %} {% if app.user %} {% set username = app.user.username %} {% else %} {% set username = "" %} {% endif %} {%if mini %}
{% if entity.icon %} {% else %} {% endif %}
{% else %}
{% if canupdate %} {% endif %} {% if canadd %} {% endif %} {% if look=="list" %} {% else %} {% endif %}
{% set intervalmilli = interval * 1000 %}
{% for slide in slides %}
{% if slide.title is not empty %}

{{slide.title}}

{% endif %} {% if slide.url is not empty %} {% if slide.target == 'frame' %} {% elseif slide.target == "_self" %} {% else %} {% endif %} {% endif %} {% if slide.subtitle is not empty %} {{slide.subtitle}} {% endif %}
{% endfor %}
{% endif %}