templates/StationList/list.html.twig line 1

Open in your IDE?
  1. {% extends 'grid.html.twig' %}
  2. {% set linkLangSupport = app.request.locale == 'en' ? '/en' : '' %}
  3. {% block title %}Проститутки по метро в Москве{% endblock %}
  4. {% block metaDescription %}<meta name="description" content="Выбор проституток Москвы по станциям метро позволяет не терять время на поездки.">{% endblock %}
  5. {% block mainContainer %}
  6.     {{ knp_menu_render('breadcrumbs', {'template': '__design/v2023/_menu/breadcrumbs.html.twig'}) }}
  7.     <div class="heading d-flex">
  8.         <h1 class="heading-title text-title mr-1" role="heading">{{ seo_heading() ? seo_heading() : 'Проститутки и индивидуалки по станциям метро' }}</h1>
  9.     </div>
  10.     <div class="catalog-metro-container white-block mb-4">
  11.         {% set firstLetter = null %}
  12.         {% set sorted_stations = stations|sort((a, b) => a.name|upper <=> b.name|upper) %}
  13.         {% for station in sorted_stations %}
  14.             {% set firstChar = station.name|slice(0, 1)|upper %}
  15.             {% if firstLetter != firstChar %}
  16.                 {% if loop.index != 1 %}</div>{% endif %}
  17.                 {% set firstLetter = firstChar %}
  18.                 <div class="catalog catalog-metro mb-4">
  19.                     <div class="first-letter mb-2 fw-700 d-flex-c">
  20.                         {{ firstLetter }}
  21.                     </div>
  22.             {% endif %}
  23.             <div class="catalog-item">
  24.                 <a class="metro-link d-flex-c" href="{{ path('profile_list.list_by_station', {'city': city.uriIdentity, 'station': station.uriIdentity}) }}">
  25.                     {% include 'components/metro/icon_generate.partial.twig' with {data: station.id|station_lines} %}
  26.                     <span class="metro-name mr-1">{{ station.name|trans }}</span>
  27.                     <span class="metro-count d-flex-c clr-main-text fw-600">{{ count_by_stations[station.id] is defined ? count_by_stations[station.id] : '0' }}</span>
  28.                 </a>
  29.             </div>
  30.         {% endfor %}
  31.     </div>
  32.     {# <div class="new-questionare">
  33.         {{ include('components/last_girl_list.html.twig') }}
  34.     </div> #}
  35.     {# {{ include('components/seo_text.html.twig', { 'type': 'bottom', "noindex": true }) }} #}
  36. {% endblock %}