{% extends 'IcapWebsiteBundle::view_layout.html.twig' %} {% import 'IcapWebsiteBundle:Website:Macros/common_macros.html.twig' as commonMacros %} {% set options = _resource.options %} {% block content %}
{{ 'loading'|trans({},'icap_website') }}
{% if options.bannerEnabled %}
{% endif %} {% if options.menuOrientation == 'horizontal' %} {% endif %}
{% if options.menuOrientation == 'vertical' %} {% endif %}
{% if currentPage is defined and currentPage is not empty %} {% if currentPage.type == pageTypes.blank %}
{{ currentPage.richText|raw }}
{% elseif currentPage.type == pageTypes.url %} {% elseif currentPage.type == pageTypes.resource %} {% endif %} {% endif %}
{% if options.footerEnabled %}
{% endif %} {% if options.analyticsProvider=="xiti" and options.analyticsId is not empty %} {% endif %}
{% endblock %} {% block javascripts %} {{ commonMacros.angularScripts() }} {# Import utilities module #} {% javascripts debug=false output='js/website/app/components/utilities.js' '@IcapWebsiteBundle/Resources/public/js/components/utilities/utilities.module.js' '@IcapWebsiteBundle/Resources/public/js/components/utilities/utilities.service.js' '@IcapWebsiteBundle/Resources/public/js/components/utilities/iframeHeightOnLoad.directive.js' %} {% endjavascripts %} {% if options.menuOrientation == 'horizontal' %} {# Import flexnav module #} {% javascripts debug=false filter='jsmin' output='js/website/components/flexnav.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/flexnav.module.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/flexnav-options.service.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/flexnav-utils.service.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/flexnav.directive.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/flexnav-submenu.directive.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/templates/main_menu.tpl.js' '@IcapWebsiteBundle/Resources/public/js/components/flexnav/templates/sub_menu.tpl.js' %} {% endjavascripts %} {% else %} {% endif %} {# Import resizer component #} {% javascripts debug=false filter='jsmin' output='js/website/app/components/resizer.js' '@IcapWebsiteBundle/Resources/public/js/components/resizer/resizer.module.js' '@IcapWebsiteBundle/Resources/public/js/components/resizer/resizer.directive.js' '@IcapWebsiteBundle/Resources/public/js/components/resizer/resizerBottom.directive.js' '@IcapWebsiteBundle/Resources/public/js/components/resizer/resizerRight.directive.js' '@IcapWebsiteBundle/Resources/public/js/components/resizer/changeHeight.directive.js' %} {% endjavascripts %} {# Import app module #} {% javascripts debug=false filter='jsmin' output='js/website/app/app.view.js' '@IcapWebsiteBundle/Resources/public/js/view-app/app.js' '@IcapWebsiteBundle/Resources/public/js/view-app/app.config.js' '@IcapWebsiteBundle/Resources/public/js/app.bootstrap.js' %} {% endjavascripts %} {% if options.analyticsProvider=="google" and options.analyticsId is not empty %} {% endif %} {% endblock %} {% block stylesheets %} {{ parent() }} {% if options.menuOrientation == 'horizontal' %} {% else %} {% endif %} {% stylesheets debug=false filter='lessphp, cssmin' output='bundles/icapwebsite/css/style-view.css' "@IcapWebsiteBundle/Resources/views/less/view.less" %} {% endstylesheets %} {% include 'IcapWebsiteBundle:Website:View/view.css.twig' with {'options': _resource.options, 'commonMacros': commonMacros} %} {% endblock %}