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

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/front.html.twig') %}
  2. {% if app.session.has('operatorId') != 1 %}
  3.     {% set host = app.request.getSchemeAndHttpHost()%}
  4. {% endif %}
  5. {% block javascripts %}
  6.     {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN')) %}
  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.     {% endif %}
  10. {% endblock %}
  11. {% block head_title %}
  12.     {% if typeArticle is defined %}
  13.         {% if typeArticle == 'general'%}
  14.             Contenidos e información General | Contenido - {{ page }}
  15.         {% elseif typeArticle == 'revista-horizontes'%}
  16.             Contenidos e información Revista Horizontes | Contenido - {{ page }}
  17.         {% elseif typeArticle == 'informacion-aviatur'%}
  18.             Contenidos e información de Aviatur | Contenido - {{ page }}
  19.         {% endif %}
  20.     {% endif %}
  21. {% endblock head_title %}
  22. {% block head_meta_title %}
  23.     {% if typeArticle is defined %}
  24.         {% if typeArticle== 'general'%}
  25.             Contenidos e información General | Contenido - {{ page }}
  26.         {% elseif typeArticle== 'revista-horizontes'%}
  27.             Contenidos e información Revista Horizontes | Contenido - {{ page }}
  28.         {% elseif typeArticle=='informacion-aviatur'%}
  29.             Contenidos e información de Aviatur | Contenido - {{ page }}
  30.         {% endif %}
  31.     {% endif %}
  32. {% endblock head_meta_title %}
  33. {% block head_description_content %}
  34.     {% if typeArticle is defined %}
  35.         {% if typeArticle == 'general'%}
  36.             Encuentra información y datos interesantes de destinos nacionales e internacionales, ferias, festivales, fechas especiales y mucho más | Aviatur - {{ page }}
  37.         {% elseif typeArticle == 'revista-horizontes'%}
  38.             Guía de viajes para conocer detalles de destinos, novedades del sector turístico, recomendaciones para el viajero y noticias | Aviatur - {{ page }}
  39.         {% elseif typeArticle == 'informacion-aviatur'%}
  40.             Encuentra información acerca de nuestros servicios, promociones, alianzas, medios de pago, términos y condiciones, políticas, entre otros | Aviatur - {{ page }}
  41.         {% endif %}
  42.     {% endif %}
  43. {% endblock head_description_content %}
  44. {% block head_meta_label %}
  45.     {% if app.session.has('operatorId') != 1 and typeArticle is defined %}
  46.         <link rel="canonical" href="{{host}} ~ /contenidos/ ~ {{typeArticle}}" />
  47.     {% endif %}
  48.     {% if typeArticle is defined and typeArticle == 'revista-horizontes' %}
  49.         <meta name="robots" content="index, follow">
  50.     {% endif %}
  51. {% endblock head_meta_label %}
  52. {% block body %}
  53.     <div class="wrapper" id="content-info">
  54.         {% if typeArticle is defined and typeArticle != 'general'%}
  55.             <ol itemscope="" itemtype="http://schema.org/BreadcrumbList" class="breadcumb">
  56.                 <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  57.                     <a itemprop="item" href="https://www.aviatur.com" style="display: inline-block;">
  58.                         <span itemprop="name">Aviatur.com</span></a>
  59.                     <i class="icon icon_chevron_right" style="display: inline-block;"></i>
  60.                     <meta itemprop="position" content="1">
  61.                 </li>
  62.                 <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  63.                     <a itemprop="item" href="https://www.aviatur.com/contenidos">
  64.                         <span itemprop="name">Contenidos</span></a>
  65.                     <i class="icon icon_chevron_right"></i>
  66.                     <meta itemprop="position" content="2">
  67.                 </li>
  68.                 {% if typeArticle=='revista-horizontes' %}
  69.                     <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  70.                         <a itemprop="item" href="https://www.aviatur.com/contenidos/{{typeArticle}}">
  71.                             <span itemprop="name">Revista Horizontes</span></a>
  72.                         <meta itemprop="position" content="3">
  73.                     </li>
  74.                 {% elseif typeArticle == 'informacion-aviatur'%}
  75.                     <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  76.                         <a itemprop="item" href="https://www.aviatur.com/contenidos/{{typeArticle}}">
  77.                             <span itemprop="name">Información Aviatur</span></a>
  78.                         <meta itemprop="position" content="3">
  79.                     </li>
  80.                 {% endif %}
  81.             </ol>
  82.         {% endif %}
  83.         {% if typeArticle is defined %}
  84.             <h1 class="text-center type-main text-content">{% if typeArticle=='general'%}Contenidos Generales{% elseif typeArticle=='revista-horizontes'%}Contenidos Revista Horizontes{% elseif typeArticle=='informacion-aviatur'%}Información Aviatur{% endif %}</h1>{% else %}<h1>Contenidos Aviatur</h1>
  85.         {% endif %}
  86.         <section class="btn-group">
  87.             {% if active == "activo" %}
  88.                 <label for="PD_Search">Buscar:</label>
  89.                 <input type="search" id="PD_searchValidate" value="" class="text ui-widget-content ui-corner-all">
  90.             {% endif %}
  91.         </section>
  92.         <section class="btn-group">
  93.             {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  94.                 <a href="{{ path('aviatur_content_new') }}" class="btn js-createContent" style="margin-right: 5px">Crear Artículo</a>
  95.                 {% if active == "inactivo" %}
  96.                     <a href="{{ path('aviatur_content_filtered', {'active':'activo', 'type':typeArticle}) }}" class="btn">
  97.                         <i class="icon icon_magnifying-glass" style="font-size: 15px;"></i>
  98.                         Ver Artículo Activos
  99.                     </a>
  100.                 {% elseif active == "activo"  %}
  101.                     <a href="{{ path('aviatur_content_filtered', {'active':'inactivo', 'type':typeArticle}) }}" class="btn">
  102.                         <i class="icon icon_magnifying-glass" style="font-size: 15px;"></i>
  103.                         Ver Artículo Inactivos
  104.                     </a>
  105.                 {% endif %}
  106.             {% endif %}
  107.         </section>
  108.         <div class="slidePanel-body is-withHeader">
  109.             <div id="js-spinner-detailAvailability" class="overlay overlay--inDiv" style="display: none;">
  110.                 <div class="overlay-center">
  111.                     <div id="js-spinOverlay-detailAvailability" class="spinOverlayLoading"></div>
  112.                     <p class="spin-text js-globalOverlay-text">Cargando...</p>
  113.                 </div>
  114.             </div>
  115.             <div id="js-body-detailAvailability">
  116.             </div>
  117.         </div>
  118.         <div id="listContents" class="wrapper-susy">
  119.             {% for articulos in articulo %}
  120.                 {% set articleType = 'general' %} {# ensure default article type #}
  121.                 {% set articleDescription = '' %}
  122.                 {% set contentInfo = json_decode(articulos.description, true) %}
  123.                 {% if contentInfo['type'] is defined %}
  124.                     {% set articleType = contentInfo['type'] %}
  125.                 {% endif %}
  126.                 {% if contentInfo['description'] is defined %}
  127.                     {% set articleDescription = contentInfo['description'] %}
  128.                 {% endif %}
  129.                 {% if contentInfo['categoria'] is defined %}
  130.                     {% set categoryType = contentInfo['categoria'] %}
  131.                 {% endif %}
  132.                 {% if typeArticle is defined and typeArticle == articleType %}
  133.                     {% if typeArticle=="general"%}
  134.                         <div class="content-con">
  135.                             {% if active == "inactivo" %}
  136.                                 {% set color = "frame--negative" %}
  137.                             {% elseif active == "activo"  %}
  138.                                 {% set color = "frame--hero" %}
  139.                             {% endif %}
  140.                             <section class="frame-group">
  141.                                 <div class="frame-content {{ color }} no-margin" align="center" style="height: 74px;">
  142.                                     <p>{{ articulos.title }}</p>
  143.                                 </div>
  144.                                 {% if app.user != ""%}
  145.                                     <div class="frame-content">
  146.                                         <section class="text-center">
  147.                                             <a href="{{ path('aviatur_blog_view', {'id':articulos.url, 'content':categoryType})}}">
  148.                                                 <i class="icon icon_magnifying-glass"></i>
  149.                                                 Visualizar
  150.                                             </a>
  151.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') )%}
  152.                                                 |
  153.                                                 <a class="js-content" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  154.                                                     <img src="{{ asset('assets/default_assets/img/content/editar.png') }}" title='Editar' width="15px"/>
  155.                                                     Editar
  156.                                                 </a>
  157.                                             {% endif %}
  158.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  159.                                                 |
  160.                                                 {% if active == "inactivo" %}
  161.                                                     <a href="#" class="js-isActiContent content-menu-li-a" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  162.                                                         <img src="{{ asset('assets/default_assets/img/content/activar.png') }}" title='Activar' width="15px"/>
  163.                                                         Activar
  164.                                                     </a>
  165.                                                 {% elseif active == "activo"  %}
  166.                                                     <a class="js-isActiContent" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  167.                                                         <img src="{{ asset('assets/default_assets/img/content/inactivar.png') }}" title='Inactivar' width="15px"/>
  168.                                                         Desactivar
  169.                                                     </a>
  170.                                                 {% endif %}
  171.                                             {% endif %}
  172.                                         </section>
  173.                                     </div>
  174.                                 {% endif %}
  175.                                 {% if articulos.url=="ferias-y-fiestas-de-colombia"%}
  176.                                     {% set imageArticle = 'https://www.aviatur.com/source/contenidos/desfiles-del-carnaval.jpg' %}
  177.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  178.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Fiestas y ferias de Colombia" alt="Fiestas y ferias de Colombia">
  179.                                     </div>
  180.                                 {% elseif articulos.url=="fiestas-y-eventos-del-mundo"%}
  181.                                     {% set imageArticle='http://www.aviatur.com/source/contenidos/festival-de-luces-yi-peng-tailandia.jpg'%}
  182.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  183.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Fiestas y eventos del mundo" alt="Fiestas y eventos del mundo">
  184.                                     </div>
  185.                                 {% elseif articulos.url=="cambiar-de-ambiente-en-cholon"%}
  186.                                     {% set imageArticle='https://www.aviatur.com/source/casa-cholon/1.jpg'%}
  187.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  188.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Casa Cholón, Barú" alt="Casa Cholón, Barú">
  189.                                     </div>
  190.                                 {% elseif articulos.url=="descubrir-destinos-segun-presupuesto-explorar-aviatur"%}
  191.                                     {% set imageArticle='http://www.aviatur.com/source/contenidos/blog/header/descubrir-destinos-segun-presupuesto-explorar-aviatur.jpg'%}
  192.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  193.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Con nuestro presupuesto descubramos destinos" alt="Vuelos según presupuesto Aviatur">
  194.                                     </div>
  195.                                 {% elseif articulos.url=="mejores-tarifas-vuelos-alertas-precios-aviatur"%}
  196.                                     {% set imageArticle='http://www.aviatur.com/source/contenidos/blog/header/mejores-tarifas-vuelos-alertas-precios-aviatur.jpg'%}
  197.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  198.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="“Alerta” te ayuda a encontrar el mejor precio" alt="Alertas de mejores tarifas Aviatur">
  199.                                     </div>
  200.                                 {% elseif articulos.url=="comprar-tiquetes-baratos-combinando-aerolineas-aviatur"%}
  201.                                     {% set imageArticle='http://www.aviatur.com/source/contenidos/blog/header/comprar-tiquetes-baratos-combinando-aerolineas-aviatur.jpg'%}
  202.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  203.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Cómo comprar tiquetes baratos combinando aerolíneas" alt="Vuelos con distintas aerolineas Aviatur">
  204.                                     </div>
  205.                                 {% elseif articulos.url=="mejores-fechas-para-viajar-prediccion-precios-aviatur"%}
  206.                                     {% set imageArticle='https://www.aviatur.com/source/contenidos/blog/header/mejores-fechas-para-viajar-prediccion-precios-aviatur.jpg'%}
  207.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  208.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Nuestras mejores tarifas aéreas en el calendario" alt="Predicción de precios Aviatur">
  209.                                     </div>
  210.                                 {% else %}
  211.                                     {% set separator1 = 'src="'%}
  212.                                     {% set separator2 = '" ' %}
  213.                                     {% set imageArticle= render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos, 'type':'content' }))%}
  214.                                     {% set dataImage= json_decode(imageArticle, true)%}
  215.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  216.                                         {% if "aviatur_logo" in imageArticle%}
  217.                                             <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  218.                                         {% else %}
  219.                                             <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  220.                                         {% endif %}
  221.                                     </div>
  222.                                 {% endif %}
  223.                                 <div class="frame-content">
  224.                                     <p class="box-content">{{  articleDescription|striptags|slice(0, 250) }} ...</p>
  225.                                     <p style="text-align: center; padding: 0px 18px 18px; margin-bottom: 0;">
  226.                                         <a href="{{ path('aviatur_blog_view', {'id':articulos.url, 'content':categoryType})}}">
  227.                                             <i class="icon icon_magnifying-glass"></i> Ver más
  228.                                         </a>
  229.                                     </p>
  230.                                 </div>
  231.                             </section>
  232.                         </div>
  233.                     {% else %}
  234.                         <div class="content-con">
  235.                             {% if active == "inactivo" %}
  236.                                 {% set color = "frame--negative" %}
  237.                             {% elseif active == "activo"  %}
  238.                                 {% set color = "frame--hero" %}
  239.                             {% endif %}
  240.                             <section class="frame-group">
  241.                                 <div class="frame-content {{ color }} no-margin" align="center" style="height: 74px;">
  242.                                     <p>{{ articulos.title }}</p>
  243.                                 </div>
  244.                                 {% if app.user != ""%}
  245.                                     <div class="frame-content">
  246.                                         <section class="text-center">
  247.                                             <a href="{{ path('aviatur_content_view', {'id':articulos.url})}}">
  248.                                                 <i class="icon icon_magnifying-glass"></i>
  249.                                                 Visualizar
  250.                                             </a>
  251.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') )%}
  252.                                                 |
  253.                                                 <a class="js-content" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  254.                                                     <img src="{{ asset('assets/default_assets/img/content/editar.png') }}" title='Editar' width="15px"/>
  255.                                                     Editar
  256.                                                 </a>
  257.                                             {% endif %}
  258.                                             {% if app.user != "" and ( is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_'~agencyId) or is_granted('ROLE_SUPER_ADMIN') ) %}
  259.                                                 |
  260.                                                 {% if active == "inactivo" %}
  261.                                                     <a href="#" class="js-isActiContent content-menu-li-a" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  262.                                                         <img src="{{ asset('assets/default_assets/img/content/activar.png') }}" title='Activar' width="15px"/>
  263.                                                         Activar
  264.                                                     </a>
  265.                                                 {% elseif active == "activo"  %}
  266.                                                     <a class="js-isActiContent" data-id="{{ articulos.id }}" data-toggle="modal" data-target="#js-promo-editModal" >
  267.                                                         <img src="{{ asset('assets/default_assets/img/content/inactivar.png') }}" title='Inactivar' width="15px"/>
  268.                                                         Desactivar
  269.                                                     </a>
  270.                                                 {% endif %}
  271.                                             {% endif %}
  272.                                         </section>
  273.                                     </div>
  274.                                 {% endif %}
  275.                                 {% if articulos.url=="ferias-y-fiestas-de-colombia"%}
  276.                                     {% set imageArticle = 'https://www.aviatur.com/source/contenidos/desfiles-del-carnaval.jpg' %}
  277.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  278.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Fiestas y ferias de Colombia" alt="Fiestas y ferias de Colombia">
  279.                                     </div>
  280.                                 {% elseif articulos.url=="cambiar-de-ambiente-en-cholon"%}
  281.                                     {% set imageArticle='https://www.aviatur.com/source/casa-cholon/1.jpg'%}
  282.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  283.                                         <img style="height: 100%; width: 100%; object-fit: cover;" src="{{imageArticle}}" title="Casa Cholón, Barú" alt="Casa Cholón, Barú">
  284.                                     </div>
  285.                                 {% else %}
  286.                                     {% set separator1 = 'src="'%}
  287.                                     {% set separator2 = '"' %}
  288.                                     {% set imageArticle= render(controller('Aviatur\\ContentBundle\\Controller\\ContentController::extractUrlAction', { 'separator1':separator1 ,'separator2':separator2,'text':articulos, 'type':'content' }))%}
  289.                                     {% set dataImage= json_decode(imageArticle, true)%}
  290.                                     <div class="frame-content" style="padding: 0px; height: 180px; background-color: white; border-top:0;">
  291.                                         {% if "aviatur_logo" in imageArticle%}
  292.                                             <img style="width: 100%;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  293.                                         {% else %}
  294.                                             <img style="height: 100%; width: 100%; object-fit: cover;" src="{{dataImage["img"]}}" title="{{dataImage["title"]}}" alt="{{dataImage["title"]}}">
  295.                                         {% endif %}
  296.                                     </div>
  297.                                 {% endif %}
  298.                                 <div class="frame-content">
  299.                                     <p class="box-content">{{  articleDescription|striptags|slice(0, 250) }} ...</p>
  300.                                     <p style="text-align: center; padding: 0px 18px 18px; margin-bottom: 0;">
  301.                                         <a href="{{ path('aviatur_content_view', {'id':articulos.url})}}">
  302.                                             <i class="icon icon_magnifying-glass"></i> Ver más
  303.                                         </a>
  304.                                     </p>
  305.                                 </div>
  306.                             </section>
  307.                         </div>
  308.                     {% endif %}
  309.                 {% endif %}
  310.             {% endfor %}
  311.             <div id="js-scrollTopBtn" class="btn--scroll-top pointer">▲</div>
  312.         </div>
  313.         {% if totalRegi > 1%}
  314.             <div id="pagination">
  315.                 <button id="enlaceajax">Cargar más</button>
  316.             </div>
  317.             <script  type="text/javascript">
  318.                 var contador = 2;
  319.                 var searching = 0;
  320.                 const offset = 455;
  321.                 var loadMore = function () {
  322.                     if (contador <={{totalRegi}} ) {
  323.                         var $url = '{{ path('aviatur_content_filtered', { 'page':'2', 'active':active, 'type':typeArticle }) }}';
  324.                         $url = $url.replace('2', contador);
  325.                         jQuery("#enlaceajax").css("display", "none");
  326.                         _loadSpinner("pagination");
  327.                         jQuery("#pagination").css("background-size", "contain");
  328.                         searching = 1;
  329.                         jQuery.ajax({
  330.                             type: "POST",
  331.                             url: $url
  332.                         }).done(function (result) {
  333.                             _removeSpinner("pagination");
  334.                             jQuery("#listContents").append(result);
  335.                             contador = contador + 1;
  336.                             searching = 0;
  337.                             jQuery("#enlaceajax").css("display", "inline-block");
  338.                         });
  339.                     } else {
  340.                         jQuery("#pagination").remove();
  341.                         searching = 1;
  342.                         jQuery(window).off("scroll", scrollHandler);
  343.                     }
  344.                 };
  345.                 var scrollHandler = function () {
  346.                     if (jQuery(window).scrollTop() + jQuery(window).height() > jQuery(document).height() - offset && searching == 0) {
  347.                         loadMore();
  348.                     }
  349.                 }
  350.                 jQuery(window).scroll(scrollHandler);
  351.                 jQuery("#enlaceajax").click(function (event) {
  352.                     if (searching == 0) {
  353.                         loadMore();
  354.                     }
  355.                 });
  356.             </script>
  357.             {#<div align='center' class="bs-example" data-example-id="disabled-active-pagination">
  358.                 {% set lastpage = page-1 %}
  359.                 {% set nextpage = page+1 %}
  360.                 {% if page != 1 %}
  361.                     <a href="{{ path('aviatur_content_filtered', { 'page':lastpage, 'active':active, 'type':typeArticle }) }}" class="btn" aria-label="Previous">
  362.                         <span aria-hidden="true">«</span>
  363.                     </a>
  364.                 {% endif %}
  365.                 {% for i in 1..totalRegi %}
  366.                     <a href="{{ path('aviatur_content_filtered', { 'page':i, 'active':active, 'type':typeArticle }) }}" class="btn">{{i}}
  367.                         <span class="sr-only">(current)</span>
  368.                     </a>
  369.                 {% endfor %}
  370.                 {% if page != totalRegi %}
  371.                     <a href="{{ path('aviatur_content_filtered', { 'page':nextpage, 'active':active, 'type':typeArticle }) }}" class="btn" aria-label="Previous">
  372.                         <span aria-hidden="true">&raquo;</span>
  373.                     </a>
  374.                 {% endif %}
  375.             </div>  #}
  376.         {% endif %}
  377.     </div>
  378.     {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Content/Content/contentModal.html.twig') %}
  379. {% endblock %}