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

Open in your IDE?
  1. <div id="recommend"></div>
  2. <div class="outer-anchor" data-anchor="recommend"></div>
  3. {#{% include 'geo/parts/tour-list2.html.twig' with {'data': page.friends, 'title': 'friends'|trans, 'block': 'friends'} %}#}
  4. {#{% include 'geo/parts/tour-list2.html.twig' with {'data': page.romantic, 'title': 'romantic'|trans, 'block': 'couple'} %}#}
  5. {#{% include 'geo/parts/tour-list2.html.twig' with {'data': page.family, 'title': 'family'|trans, 'block': 'kids'} %}#}
  6. {#{% include 'geo/parts/tour-list2.html.twig' with {'data': page.peaceful, 'title': 'peaceful'|trans, 'block': 'relax'} %}#}
  7. {% if((page.friendsBudget is defined and page.friendsBudget is not empty) or (page.friends is defined and page.friends is not empty) or (page.friendsLux is defined and page.friendsLux is not empty)) %}
  8.     {% include 'geo/parts/hots-block.html.twig' with {'dataBudget': page.friendsBudget, 'dataOptimal': page.friends, 'dataLux': page.friendsLux, 'title': 'friends'|trans, 'block': 'friends'} %}
  9. {% endif %}
  10. {% if((page.romanticBudget is defined and page.romanticBudget is not empty) or (page.romantic is defined and page.romantic is not empty) or (page.romanticLux is defined and page.romanticLux is not empty)) %}
  11.     {% include 'geo/parts/hots-block.html.twig' with {'dataBudget': page.romanticBudget, 'dataOptimal': page.romantic, 'dataLux': page.romanticLux, 'title': 'romantic'|trans, 'block': 'couple'} %}
  12. {% endif %}
  13. {% if((page.familyBudget is defined and page.familyBudget is not empty) or (page.family is defined and page.family is not empty) or (page.familyLux is defined and page.familyLux is not empty)) %}
  14.     {% include 'geo/parts/hots-block.html.twig' with {'dataBudget': page.familyBudget, 'dataOptimal': page.family, 'dataLux': page.familyLux, 'title': 'family'|trans, 'block': 'kids'} %}
  15. {% endif %}
  16. {% if((page.peacefulBudget is defined and page.peacefulBudget is not empty) or (page.peaceful is defined and page.peaceful is not empty) or (page.peacefulLux is defined and page.peacefulLux is not empty)) %}
  17.     {% include 'geo/parts/hots-block.html.twig' with {'dataBudget': page.peacefulBudget, 'dataOptimal': page.peaceful, 'dataLux': page.peacefulLux, 'title': 'peaceful'|trans, 'block': 'relax'} %}
  18. {% endif %}
  19. {% include 'geo/parts/from-city.html.twig' with {'data': page.departureCities} %}
  20. {# {% include 'geo/parts/excursion-list.html.twig' with {'excursions': page.excursions} %} #}
  21. {% if route in ['app_country_search'] %}
  22.     <div class="container">
  23.         {% include 'geo/parts/accordion.html.twig' with {'faq': page.faq} %}
  24.     </div>
  25. {% endif %}
  26. {% if page.sport.0 %}
  27.     {% include 'geo/parts/card-with-icon.html.twig' with {'sports': page.sport.0} %}
  28. {% endif %}
  29. {% include 'geo/parts/early.html.twig' with {'items': page.monthly} %}