{% 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 %}
{% else %} {% endif %}