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

Open in your IDE?
  1. <div class="header__links {% if route == 'app_home' %}header__links--home{% endif %} {% if route == 'app_country_search' %}header__links--country{% endif %}">
  2.     <a class="" href="{{ path('app_home') }}"
  3.        style="opacity: {% if route in ['app_countries', 'app_country_search', 'app_country_cities_rubric', 'app_country_cities'] %}'0.4'{% else %}1{% endif %}"
  4.     >{{ 'tours'|trans }}
  5.     </a>
  6.     {% if market.excursionAvailability %}
  7.         <a href="{{ getenv('SITE_URL_'~locale|upper) }}/excursion/">
  8.             <span class="" style="cursor: pointer;">{{ 'excursions'|trans }}</span>
  9.         </a>
  10.     {% endif %}
  11.     <a class="" href="/countries/"
  12.        style="opacity: {% if route in ['app_countries', 'app_country_search', 'app_country_cities_rubric', 'app_country_cities'] %}1{% else %}'0.4'{% endif %}"
  13.     >{{ 'countries_of_world'|trans }}</a>
  14. </div>