{% 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 stylewidgetbodyframe = constants.mystylewidgetbodyframe(entity) %} {% set stylewidgetbodyimage = constants.mystylewidgetbodyimage(entity) %} {% set color = app.session.get('color') %} {% set colorbodyback = entity.colorbodyback %} {% if colorbodyback is null %} {% set colorbodyback = color['main'] %} {% endif %} {% set colorbodyfont = entity.colorbodyfont %} {% if colorbodyfont is null %} {% set colorbodyfont = color['fontcolorhover'] %} {% endif %} {%if mini %}
{% else %} {% endif %}