templates/Slivki/pages/pages.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block mainColumnClass %}
  3.     full-width-content
  4. {% endblock %}
  5. {% block main_content %}
  6.     <div class="content--page{{ not director and not infoPage.getType() == constant('Slivki\\Entity\\InfoPage::DIRECTOR_INFO_TYPE') ? ' content--has-sidebar'}}">
  7.     <div class="breadcrumbs">
  8.         <a href="{{ base_url }}">Главная</a>
  9.         <i class="fa fa-angle-right"></i> {{ infoPage.getName() }}
  10.     </div>
  11.         <div class="clear"></div>
  12.         <div class="infoPageBody">
  13.             {{ text|raw }}
  14.         </div>
  15.         {% if not director and not infoPage.getType() == constant('Slivki\\Entity\\InfoPage::DIRECTOR_INFO_TYPE') %}
  16.             {% include 'Slivki/pages/sidebar.html.twig' %}
  17.         {% endif %}
  18.     </div>
  19. {% endblock %}
  20. {% block footer %}
  21.     {% if director %}
  22.         {% include 'Slivki/footer_for_partner.html.twig' %}
  23.     {% else %}
  24.         {{ parent() }}
  25.     {% endif %}
  26. {% endblock %}