templates/geo/parts/navigation-block.html.twig line 1

Open in your IDE?
  1. <div class="navigation_container">
  2.     <div class="container">
  3.         <div class="navigation_list">
  4.             {% if(page.hot is defined and page.hot is not empty) %}
  5.                 <a data-href="hot" href="#hot" class="navigation_item">{{ 'Горящие туры'|trans }}</a>
  6.             {% endif %}
  7.             {% if factsBlocks is defined and factsBlocks|length > 0 %}
  8.                 <a data-href="facts" href="#facts" class="navigation_item">{{ 'Интересные факты'|trans }}</a>
  9.             {% endif %}
  10.             {% if selections is defined and selections|length > 0 %}
  11.                 <a data-href="selection" href="#selection" class="navigation_item">{{ 'Подборки'|trans }}</a>
  12.             {% endif %}
  13.             {% if(page.friends is not empty or page.romantic is not empty or page.family is not empty or page.peaceful is not empty) %}
  14.                 <a data-href="recommend" href="#recommend" class="navigation_item">{{ 'Мы рекомендуем'|trans }}</a>
  15.             {% endif %}
  16.             <a data-href="months" href="#months" class="navigation_item">{{ 'Туры по месяцам'|trans }}</a>
  17.             {% if(page.bestHotels is defined and page.bestHotels is not empty and page.bestHotels|first is not empty ) %}
  18.                 <a data-href="best" href="#best" class="navigation_item">{{ 'Лучшие отели'|trans }}</a>
  19.             {% endif %}
  20.             {% if route == 'app_country_search' %}
  21.                 <a data-href="best" href="{{ path('app_country_cities', {'country': country}) }}" class="navigation_item">{{ 'Курорты'|trans }}</a>
  22.             {% endif %}
  23.         </div>
  24.     </div>
  25. </div>