templates/snippets/footer.html.twig line 1

Open in your IDE?
  1. {% if editmode %}
  2.     {{ include('layout/partials/css.html.twig') }}
  3.     {% embed 'includes/editmode-box.html.twig' %}
  4.         {% block editmodeSettings %}
  5.             <b>Show top row?</b> {{ pimcore_checkbox('showFooterTop', { 'reload': true }) }}
  6.         {% endblock %}
  7.     {% endembed %}
  8. {% endif %}
  9. {% set microSiteConfig = getSiteConfig() is instanceof('\\Pimcore\\Model\\DataObject\\MicroSiteConfig') ? getSiteConfig() : null %}
  10. {% set isMicroSiteItAg = microSiteConfig and microSiteConfig.name == 'zitag' %}
  11. <footer class="footer js-render-template {{ pimcore_placeholder('hasStickyBar').value ? 'mt-md-0' : '' }}">
  12.     {% if not editmode %}<template class="js-render-template__template">{% endif %}
  13.         {% if not app.request.get('hideAdditionalBar') and pimcore_checkbox('showFooterTop').checked() %}
  14.             {{ include('snippets/partials/footer-additional.html.twig', {
  15.                 'showRight': isMicroSiteItAg
  16.             }, with_context = false) }}
  17.         {% endif %}
  18.         {{ include('snippets/partials/footer-main.html.twig', {
  19.             'showRight': isMicroSiteItAg,
  20.             'showLogo': not isMicroSiteItAg
  21.         }, with_context = false) }}
  22.         {{ include('snippets/partials/footer-brands.html.twig', {
  23.             'showLinksRight': isMicroSiteItAg
  24.         }, with_context = false) }}
  25.     {% if not editmode %}</template>{% endif %}
  26. </footer>