src/Aviatur/TwigBundle/Resources/views/aviatur/Flux/Content/Content/index_promo.html.twig line 1

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/front.html.twig') %}
  2. {% set contentType = app.request.get('content') %}
  3. {% if app.session.has('operatorId') != 1 %}
  4.     {% set host = app.request.getSchemeAndHttpHost()%}
  5. {% endif %}
  6. {% block javascripts %}
  7.         <script src="{{app.request.getSchemeAndHttpHost() ~ '/js/tinymce/tinymce.min.js'}}"></script>
  8.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Content/Content/content_js.html.twig') %}
  9. {% endblock %}
  10. {% block head_title %}
  11.     {% if typeArticle is defined %}
  12.         {% if typeArticle=='aerolinea'%}
  13.             Aerolíneas | Información y ofertas en Aviatur.com
  14.         {% elseif typeArticle=='colombia'%}
  15.             Tiquetes baratos a diferentes ciudades de Colombia
  16.         {% elseif typeArticle=='america'%}
  17.             Ofertas en vuelos a destinos turísticos de América
  18.         {% elseif typeArticle=='oceania'%}
  19.             Ofertas en vuelos para su viaje a Oceanía
  20.         {% elseif typeArticle=='europa'%}
  21.             Ofertas en vuelos a diferentes ciudades y capitales de Europa
  22.         {% elseif typeArticle=='africa'%}
  23.             Ofertas en vuelos a ciudades de África
  24.         {% elseif typeArticle=='asia'%}
  25.             Información y ofertas para su viaje a Asia
  26.         {% elseif typeArticle=='blog'%}
  27.             Destinos creados para el blog | Aviatur
  28.         {% endif %}
  29.     {% endif %}
  30. {% endblock head_title %}
  31. {% block head_meta_title %}
  32.     {% if typeArticle is defined %}
  33.         {% if typeArticle=='aerolinea'%}
  34.             Aerolíneas | Información y ofertas en Aviatur.com
  35.         {% elseif typeArticle=='colombia'%}
  36.             Tiquetes baratos a diferentes ciudades de Colombia
  37.         {% elseif typeArticle=='america'%}
  38.             Ofertas en vuelos a destinos turísticos de América
  39.         {% elseif typeArticle=='oceania'%}
  40.             Ofertas en vuelos para su viaje a Oceanía
  41.         {% elseif typeArticle=='europa'%}
  42.             Ofertas en vuelos a diferentes ciudades y capitales de Europa
  43.         {% elseif typeArticle=='africa'%}
  44.             Ofertas en vuelos a ciudades de África
  45.         {% elseif typeArticle=='asia'%}
  46.             Información y ofertas para su viaje a Asia
  47.         {% elseif typeArticle=='blog'%}
  48.             Destinos creados para el blog
  49.         {% endif %}
  50.     {% endif %}
  51. {% endblock head_meta_title %}
  52. {% block head_description_content %}
  53.     {% if typeArticle is defined %}
  54.         {% if typeArticle=='aerolinea'%}
  55.             Encuentre aquí el destino nacional o internacional con su aerolínea preferida. Conozca los servicios, política de equipaje y rutas que ofrece cada aerolínea
  56.         {% elseif typeArticle=='colombia'%}
  57.             Encuentre ofertas en vuelos, información del aeropuerto, clima y aerolíneas de cada destino. Escoja un destino colombiano y disfrute de sus paisajes tropicales
  58.         {% elseif typeArticle=='america'%}
  59.             Si planea viajes al sur, centro o norte de América, aquí encontrará los destinos de su interés. Ofertas en vuelos, información de aeropuertos, clima y más
  60.         {% elseif typeArticle=='oceania'%}
  61.             Descubra los paisajes de Australia, Nueva Zelanda y los archipiélagos coralinos. Encuentre información de aeropuertos y ofertas en vuelos de cada destino
  62.         {% elseif typeArticle=='europa'%}
  63.             Descubra las ciudades y demás destinos del viejo continente que lo esperan con sorpresas culturales, arquitectónicas, gastronómicas. Promociones en vuelos
  64.         {% elseif typeArticle=='africa'%}
  65.             Los destinos turísticos de África le ofrecen todo un mundo de flora, fauna y gente maravillosa. Encuentre información de aeropuertos y ofertas en vuelos
  66.         {% elseif typeArticle=='asia'%}
  67.             Programe sus próximas vacaciones a Asia, un continente con diversidad de paisajes que brinda todas las posibilidades turísticas. Encuentre ofertas en vuelos
  68.         {% elseif typeArticle=='blog'%}
  69.             Destinos creados para el blog de Aviatur
  70.         {% endif %}
  71.     {% endif %}
  72. {% endblock head_description_content %}
  73. {% block head_meta_label %}
  74.     {% if app.session.has('operatorId') != 1 and typeArticle is defined %}
  75.         <link rel="canonical" href="{{host}}/tiquetes-baratos-a/{{typeArticle|trim}}" />
  76.     {% endif %}
  77. {% endblock head_meta_label %}
  78. {% block searcher_header %}
  79.     {% if typeArticle  is defined %}
  80.         {% if typeArticle!='aerolinea' and typeArticle!='blog'%}
  81.             <div class="page__body--search js-page-body-toggle {% if app.session.has('operatorId') == 1 %}page__body--front{% endif %} {% if 'aviatur_general_homepage' in app.request.get('_route') %}hidden-palm{% endif %}">
  82.                 {% block search_content %}
  83.                     <div class="wrapper search__light" style="padding-top:45px !important; padding-bottom:45px !important;">
  84.                         <div class="search__light--box-flight">
  85.                             {% if app.session.has('notEnableFlightSearch') == 0 %}
  86.                                 {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine.html.twig') %}
  87.                             {% endif %}
  88.                         </div>
  89.                     </div>
  90.                 {% endblock %}
  91.             </div>
  92.         {% endif %}
  93.     {% endif %}
  94. {% endblock searcher_header %}
  95. {% block body %}
  96.     <div class="wrapper" id="content-info">
  97.         {% if typeArticle is defined %}
  98.             <ol itemscope="" itemtype="http://schema.org/BreadcrumbList" class="breadcumb">
  99.                 <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  100.                     <a itemprop="item" href="https://www.aviatur.com" style="display: inline-block;">
  101.                         <span itemprop="name">Aviatur.com</span></a>
  102.                     <i class="icon icon_chevron_right" style="display: inline-block;"></i>
  103.                     <meta itemprop="position" content="1">
  104.                 </li>
  105.                 <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  106.                     <a itemprop="item" href="https://www.aviatur.com/tiquetes-baratos-a">
  107.                         <span itemprop="name">Tiquetes baratos</span></a>
  108.                     <i class="icon icon_chevron_right"></i>
  109.                     <meta itemprop="position" content="2">
  110.                 </li>
  111.                 <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  112.                     <a itemprop="item" href="https://www.aviatur.com/tiquetes-baratos-a/{{typeArticle}}">
  113.                         <span itemprop="name">{%if typeArticle=="aerolinea"%}Aerolíneas{% else %}{{typeArticle|replace({'america': 'américa', 'oceania': 'oceanía','africa': 'áfrica'})|capitalize}}{% endif %}</span>
  114.                     </a><meta itemprop="position" content="3">
  115.                 </li>
  116.             </ol>
  117.         {% endif %}
  118.         {% if typeArticle is defined and typeArticle=='aerolinea'%}<h1 class="text-center type-main text-content sp-offset--big">Información y ofertas de  Aerolíneas</h1>{% endif %}
  119.         <div class="inline-full">
  120.             <div class="content-con">
  121.                 {% if active == "activo" %}
  122.                     <section class="btn-group">
  123.                         <label for="PD_Search">Buscar:</label>
  124.                         <input type="search" id="PD_searchValidate" value="" class="text ui-widget-content ui-corner-all">
  125.                     </section>
  126.                 {% endif %}
  127.             </div>
  128.             {% if typeArticle is defined and typeArticle!='aerolinea' and typeArticle!="blog" %}
  129.                 <div class="content-col sp-inset--small">
  130.                     <h2 class="type-main">Vuelos en ciudades de {{typeArticle|replace({'america': 'américa', 'oceania': 'oceanía','africa': 'áfrica'})|capitalize}}</h2>
  131.                 </div>
  132.             {% endif %}
  133.         </div>
  134.         <section class="btn-group">
  135.             {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  136.                 <a href="{{ path('aviatur_content_airline_new', {'content':contentType}) }}" class="btn js-createContent">Crear Artículo</a>
  137.                 {% if active == "inactivo" %}
  138.                     <a href="{{ path('aviatur_content_airline_filtered', {'active':'activo', 'content':contentType, 'type':typeArticle}) }}" class="btn">
  139.                         <i class="icon icon_magnifying-glass" style="font-size: 15px;"></i>
  140.                         Ver Artículo Activos
  141.                     </a>
  142.                 {% elseif active == "activo"  %}
  143.                     <a href="{{ path('aviatur_content_airline_filtered', {'active':'inactivo', 'content':contentType,'type':typeArticle}) }}" class="btn">
  144.                         <i class="icon icon_magnifying-glass" style="font-size: 15px;"></i>
  145.                         Ver Artículo Inactivos
  146.                     </a>
  147.                 {% endif %}
  148.             {% endif %}
  149.         </section>
  150.         <div id="listContents" class="wrapper-susy">
  151.             {% for articulos in articulo %}
  152.                 {% set articleType = 'destinos' %} {# ensure default article type #}
  153.                 {% set articleDescription = '' %}
  154.                 {% set contentInfo = json_decode(articulos.description, true) %}
  155.                 {% if contentInfo['type'] is defined %}
  156.                     {% set articleType = contentInfo['type'] %}
  157.                 {% endif %}
  158.                 {% if contentInfo['type2'] is defined %}
  159.                     {% set destinoType = contentInfo['type2'] %}
  160.                 {% endif %}
  161.                 {% if contentInfo['description'] is defined %}
  162.                     {% set articleDescription = contentInfo['description'] %}
  163.                 {% endif %}
  164.                 {% if typeArticle is defined and typeArticle==destinoType%}
  165.                     <div class="content-con">
  166.                         {% if active == "inactivo" %}
  167.                             {% set color = "frame--negative" %}
  168.                         {% elseif active == "activo"  %}
  169.                             {% set color = "frame--hero" %}
  170.                         {% endif %}
  171.                         <section class="frame-group">
  172.                             <div class="frame-content {{ color }} no-margin" align="center" style="height: 74px;">
  173.                                 <p>{{ articulos.title }}</p>
  174.                             </div>
  175.                             {% if app.user != ""%}
  176.                                 <div class="frame-content">
  177.                                     <section class="text-center">
  178.                                         <a href="{{ path('aviatur_content_airline_view', {'id':articulos.url, 'content':articleType})}}">
  179.                                             <i class="icon icon icon_magnifying-glass"></i>
  180.                                             Visualizar
  181.                                         </a>
  182.                                         {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') )%}
  183.                                             |
  184.                                             <a class="js-content" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  185.                                                 <img src="{{ asset('assets/default_assets/img/content/editar.png') }}" title='Editar' width="15px"/>
  186.                                                 Editar
  187.                                             </a>
  188.                                         {% endif %}
  189.                                         {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  190.                                             |
  191.                                             {% if active == "inactivo" %}
  192.                                                 <a href="#" class="js-isActiContent content-menu-li-a" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  193.                                                     <img src="{{ asset('assets/default_assets/img/content/activar.png') }}" title='Activar' width="15px"/>
  194.                                                     Activar
  195.                                                 </a>
  196.                                             {% elseif active == "activo"  %}
  197.                                                 <a class="js-isActiContent" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  198.                                                     <img src="{{ asset('assets/default_assets/img/content/inactivar.png') }}" title='Inactivar' width="15px"/>
  199.                                                     Desactivar
  200.                                                 </a>
  201.                                             {% endif %}
  202.                                         {% endif %}
  203.                                     </section>
  204.                                 </div>
  205.                             {% endif %}
  206.                             {% if articleType=="aerolineas" %}
  207.                                 {% set separator1 = 'src="'%}
  208.                                 {% set separator2 = '" ' %}
  209.                                 {% set imageArticle= ""~render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos,'type':'content' }))%}
  210.                                 {% set dataImage= json_decode(imageArticle, true)%}
  211.                             {% else %}
  212.                                 {% if destinoType=="colombia"%}
  213.                                     {% set separator1 = 'src="' %}
  214.                                     {% set separator2 = '">' %}
  215.                                 {% else %}
  216.                                     {% set separator1 = "background-image: url('" %}
  217.                                     {% set separator2 = "');" %}
  218.                                 {% endif %}
  219.                                 {% set imageArticle= ""~render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos,'type':'content' }))%}
  220.                                 {% set dataImage= json_decode(imageArticle, true)%}
  221.                             {% endif %}
  222.                             <div class="frame-content" style="padding: 0px; height: 150px; border-top:0; position: relative; background-color:white;">
  223.                                 {% if articleType=="aerolineas" %}
  224.                                     {% if "aviatur_logo" in imageArticle%}
  225.                                         <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  226.                                     {% elseif "logo-" in imageArticle%}
  227.                                         <img style="position: absolute; left: 0; right: 0; top: 20%; margin: auto;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  228.                                      {% else %}
  229.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  230.                                     {% endif %}
  231.                                 {% else %}
  232.                                     {% if "aviatur_logo" in imageArticle%}
  233.                                         <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  234.                                     {% else %}
  235.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  236.                                     {% endif %}
  237.                                 {% endif %}
  238.                             </div>
  239.                             <div class="frame-content">
  240.                                 <p class="box-content">{{ articleDescription|striptags|slice(0, 250) }} ...</p>
  241.                                 <p style="text-align: center; padding: 0px 18px 18px; margin-bottom: 0;">
  242.                                     <a href="{{ path('aviatur_content_airline_view', {'id':articulos.url, 'content':articleType})}}">
  243.                                         <i class="icon icon_magnifying-glass"></i> Ver más
  244.                                     </a>
  245.                                 </p>
  246.                             </div>
  247.                         </section>
  248.                     </div>
  249.                 {% endif %}
  250.                 {% if typeArticle  is defined %}
  251.                     {% if typeArticle=="blog"%}
  252.                         <div class="content-con">
  253.                             {% if active == "inactivo" %}
  254.                                 {% set color = "frame--negative" %}
  255.                             {% elseif active == "activo"  %}
  256.                                 {% set color = "frame--hero" %}
  257.                             {% endif %}
  258.                             <section class="frame-group">
  259.                                 <div class="frame-content {{ color }} no-margin" align="center" style="height: 74px;">
  260.                                     <p>{{ articulos.title }}</p>
  261.                                 </div>
  262.                                 {% if app.user != ""%}
  263.                                     <div class="frame-content">
  264.                                         <section class="text-center">
  265.                                             <a href="{{ path('aviatur_blog_destinos_view', {'id':articulos.url, 'content':'destinos'})}}">
  266.                                                 <i class="icon icon icon_magnifying-glass"></i>
  267.                                                 Visualizar
  268.                                             </a>
  269.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') )%}
  270.                                                 |
  271.                                                 <a class="js-content" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  272.                                                     <img src="{{ asset('assets/default_assets/img/content/editar.png') }}" title='Editar' width="15px"/>
  273.                                                     Editar
  274.                                                 </a>
  275.                                             {% endif %}
  276.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  277.                                                 |
  278.                                                 {% if active == "inactivo" %}
  279.                                                     <a href="#" class="js-isActiContent content-menu-li-a" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  280.                                                         <img src="{{ asset('assets/default_assets/img/content/activar.png') }}" title='Activar' width="15px"/>
  281.                                                         Activar
  282.                                                     </a>
  283.                                                 {% elseif active == "activo"  %}
  284.                                                     <a class="js-isActiContent" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  285.                                                         <img src="{{ asset('assets/default_assets/img/content/inactivar.png') }}" title='Inactivar' width="15px"/>
  286.                                                         Desactivar
  287.                                                     </a>
  288.                                                 {% endif %}
  289.                                             {% endif %}
  290.                                         </section>
  291.                                     </div>
  292.                                 {% endif %}
  293.                                 {% if articleType=="aerolineas" %}
  294.                                     {% set separator1 = 'src="'%}
  295.                                     {% set separator2 = '" ' %}
  296.                                     {% set imageArticle= ""~render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos,'type':'content' }))%}
  297.                                     {% set dataImage= json_decode(imageArticle, true)%}
  298.                                 {% else %}
  299.                                     {% if destinoType=="colombia"%}
  300.                                         {% set separator1 = 'src="' %}
  301.                                         {% set separator2 = '">' %}
  302.                                     {% else %}
  303.                                         {% set separator1 = "background-image: url('" %}
  304.                                         {% set separator2 = "');" %}
  305.                                     {% endif %}
  306.                                     {% set imageArticle= ""~render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos,'type':'content' }))%}
  307.                                     {% set dataImage= json_decode(imageArticle, true)%}
  308.                                 {% endif %}
  309.                                 <div class="frame-content" style="padding: 0px; height: 150px; border-top:0; position: relative; background-color:white;">
  310.                                     {% if articleType=="aerolineas" %}
  311.                                         {% if "aviatur_logo" in imageArticle%}
  312.                                             <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  313.                                         {% elseif "logo-" in imageArticle%}
  314.                                             <img style="position: absolute; left: 0; right: 0; top: 20%; margin: auto;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  315.                                         {% else %}
  316.                                             <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  317.                                         {% endif %}
  318.                                     {% else %}
  319.                                         {% if "aviatur_logo" in imageArticle%}
  320.                                             <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  321.                                         {% else %}
  322.                                             <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  323.                                         {% endif %}
  324.                                     {% endif %}
  325.                                 </div>
  326.                                 <div class="frame-content">
  327.                                     <p class="box-content">{{ articleDescription|striptags|slice(0, 250) }} ...</p>
  328.                                     <p style="text-align: center; padding: 0px 18px 18px; margin-bottom: 0;">
  329.                                         <a href="{{ path('aviatur_blog_destinos_view', {'id':articulos.url, 'content':'destinos'})}}">
  330.                                             <i class="icon icon_magnifying-glass"></i> Ver más
  331.                                         </a>
  332.                                     </p>
  333.                                 </div>
  334.                             </section>
  335.                         </div>
  336.                     {% endif %}
  337.                 {% endif %}
  338.             {% endfor %}
  339.             <div id="js-scrollTopBtn" class="btn--scroll-top pointer">▲</div>
  340.         </div>
  341.         {% if totalRegi > 1%}
  342.             <div id="pagination">
  343.                 <button id="enlaceajax">Cargar más</button>
  344.             </div>
  345.             <script type="text/javascript">
  346.                 var contador = 2;
  347.                 var searching = 0;
  348.                 const offset = 455;
  349.                 var loadMore = function () {
  350.                 if (contador <={{totalRegi}} ) {
  351.                 var $url = '{{ path('aviatur_content_airline_filtered', { 'page':'2', 'active':active, 'content':contentType, 'type':typeArticle }) }}';
  352.                 $url = $url.replace('2', contador);
  353.                 jQuery("#enlaceajax").css("display", "none");
  354.                 _loadSpinner("pagination");
  355.                 jQuery("#pagination").css("background-size", "contain");
  356.                 searching = 1;
  357.                 jQuery.ajax({
  358.                 type: "POST",
  359.                         url: $url
  360.                 }).done(function (result) {
  361.                 _removeSpinner("pagination");
  362.                 jQuery("#listContents").append(result);
  363.                 contador = contador + 1;
  364.                 searching = 0;
  365.                 jQuery("#enlaceajax").css("display", "inline-block");
  366.                 });
  367.                 } else {
  368.                 jQuery("#pagination").remove();
  369.                 searching = 1;
  370.                 jQuery(window).off("scroll", scrollHandler);
  371.                 }
  372.                 };
  373.                 var scrollHandler = function () {
  374.                 if (jQuery(window).scrollTop() + jQuery(window).height() > jQuery(document).height() - offset && searching == 0) {
  375.                 loadMore();
  376.                 }
  377.                 }
  378.                 jQuery(window).scroll(scrollHandler);
  379.                 jQuery("#enlaceajax").click(function (event) {
  380.                 if (searching == 0) {
  381.                 loadMore();
  382.                 }
  383.                 });
  384.             </script>
  385.             {#<div align='center' class="bs-example" data-example-id="disabled-active-pagination">
  386.                 {% set lastpage = page-1 %}
  387.                 {% set nextpage = page+1 %}
  388.                 {% if page != 1 %}
  389.                     <a href="{{ path('aviatur_content_airline_filtered', { 'page':lastpage, 'active':active, 'content':contentType, 'type':typeArticle }) }}" class="btn" aria-label="Previous">
  390.                         <span aria-hidden="true">«</span>
  391.                     </a>
  392.                 {% endif %}
  393.                 {% for i in 1..totalRegi %}
  394.                     <a href="{{ path('aviatur_content_airline_filtered', { 'page':i, 'active':active, 'content':contentType, 'type':typeArticle }) }}" class="btn">{{i}}
  395.                         <span class="sr-only">(current)</span>
  396.                     </a>
  397.                 {% endfor %}
  398.                 {% if page != totalRegi %}
  399.                     <a href="{{ path('aviatur_content_airline_filtered', { 'page':nextpage, 'active':active, 'content':contentType, 'type':typeArticle }) }}" class="btn" aria-label="Previous">
  400.                         <span aria-hidden="true">&raquo;</span>
  401.                     </a>
  402.                 {% endif %}
  403.             </div>  #}
  404.         {% endif %}
  405.     </div>
  406.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Content/Content/contentModal.html.twig') %}
  407.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_datepickerContainer.html.twig') %}
  408. {% endblock %}
  409. {% block javascripts_bottom %}
  410.     {{ parent() }}
  411.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_js.html.twig') %}
  412. {% endblock javascripts_bottom %}