src/Resources/views/Frontend/vehicle/index.html.twig line 61

Open in your IDE?
  1. {% extends 'frontend/frontend.html.twig' %}
  2. {% import '/Frontend/macros.html.twig' as macros %}
  3. {% block meta_robot %}
  4.     {{ parent() }}
  5.     <link rel="canonical" href="{{ url('frontend_vehicle_list') }}"/>
  6.     {{ source('stubs/seo/robots_index_follow.html.twig') }}
  7. {% endblock %}
  8. {% block meta_title %}
  9. {{ title|default('seo.vehicle.list.title'|trans({}, 'seo')) }}
  10. {% endblock meta_title %}
  11. {% block meta_desc %}{{ 'seo.vehicle.list.desc'|trans({}, "seo") }}{% endblock %}
  12. {% block tag_manager %}
  13.     <script>
  14.         dataLayer = [{
  15.         'rubrique': '{{ null == currentSale ? "Toutes les ventes" : (currentSale is onlineCompliant ? currentSale.title : currentSale.room.code) }}'
  16.         }];
  17.     </script>
  18. {% endblock %}
  19. {% block additional_classes %}
  20.     {% if listType is defined and listType == 'Liste' %}
  21.         vehicules-mode-liste
  22.     {% endif %}
  23. {% endblock %}
  24. {% block body_content %}
  25. {{ include('Frontend/vehicle/header_sale.html.twig') }}
  26. <div class="col9x list-vehicle">
  27.     {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  28.         <div class="sidebar {% if app.user is pro %}pro{% endif %} grid-visible tab-l-visible tab-p-hide m-hide">
  29.             {% include '/Frontend/sidebar.html.twig' %}
  30.         </div>
  31.     {% endif %}
  32.     <div class="content clearfix {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}content_pro{% endif %}" role="main">
  33.         <div id="content-top-right">
  34.             <div class="overlay03 none overlay-list-vehicle"></div>
  35.             <div>
  36.                 <div class="big_box_cont">
  37.                     <div class="search-result">
  38.                         {% include 'Frontend/vehicle/list.html.twig' with {'pager': pager, 'listtype': true} %}
  39.                     </div>
  40.                     <div class="clearfix"></div>
  41.                 </div>
  42.             </div>
  43.             <div style="display: none; ">
  44.                 <div></div>
  45.             </div>
  46.         </div>
  47.     </div>
  48.     <a href="#" id="scrollup">Haut</a>
  49. </div>
  50. <div class="col3x list-vehicle">
  51.     {{ render(controller( 'App\\Controller\\Frontend\\VehicleController:searchAction')) }}
  52. </div>
  53. {% endblock body_content %}