var/cache/dev/twig/8d/8d7c295601593515c70f65755cb89ba4.php line 195

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/pages/page_category/index.html.twig */
  14. class __TwigTemplate_64deeae9270102fbaecfde7e16541fef extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "front/layouts/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/pages/page_category/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/pages/page_category/index.html.twig"));
  41.         $this->parent $this->loadTemplate("front/layouts/base.html.twig""front/pages/page_category/index.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         // line 4
  57.         echo "\t";
  58.         echo twig_escape_filter($this->env, (($this->extensions['App\Twig\SeoExtension']->metaTitle()) ? ($this->extensions['App\Twig\SeoExtension']->metaTitle()) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.menu.references", [], "front"))), "html"nulltrue);
  59.         echo "
  60. ";
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     // line 7
  67.     public function block_stylesheets($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  74.         // line 8
  75.         echo "\t";
  76.         $this->displayParentBlock("stylesheets"$context$blocks);
  77.         echo "
  78. ";
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.     }
  84.     // line 12
  85.     public function block_body($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  92.         // line 13
  93.         echo "\t";
  94.         $context["idUrl"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "get", [=> "id"], "method"falsefalsefalse13);
  95.         // line 14
  96.         echo "
  97. \t<div class=\"container reveal\">
  98. \t";
  99.         // line 16
  100.         if ( !(null === (isset($context["blocs"]) || array_key_exists("blocs"$context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.'16$this->source); })()))) {
  101.             // line 17
  102.             echo "\t\t";
  103.             $context['_parent'] = $context;
  104.             $context['_seq'] = twig_ensure_traversable((isset($context["blocs"]) || array_key_exists("blocs"$context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.'17$this->source); })()));
  105.             $context['loop'] = [
  106.               'parent' => $context['_parent'],
  107.               'index0' => 0,
  108.               'index'  => 1,
  109.               'first'  => true,
  110.             ];
  111.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  112.                 $length count($context['_seq']);
  113.                 $context['loop']['revindex0'] = $length 1;
  114.                 $context['loop']['revindex'] = $length;
  115.                 $context['loop']['length'] = $length;
  116.                 $context['loop']['last'] = === $length;
  117.             }
  118.             foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
  119.                 // line 18
  120.                 echo "\t\t\t";
  121.                 $this->loadTemplate("front/bloc/index.html.twig""front/pages/page_category/index.html.twig"18)->display($context);
  122.                 // line 19
  123.                 echo "\t\t";
  124.                 ++$context['loop']['index0'];
  125.                 ++$context['loop']['index'];
  126.                 $context['loop']['first'] = false;
  127.                 if (isset($context['loop']['length'])) {
  128.                     --$context['loop']['revindex0'];
  129.                     --$context['loop']['revindex'];
  130.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  131.                 }
  132.             }
  133.             $_parent $context['_parent'];
  134.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
  135.             $context array_intersect_key($context$_parent) + $_parent;
  136.             // line 20
  137.             echo "\t";
  138.         }
  139.         // line 21
  140.         echo "\t\t<div class=\"section-ref\">
  141. \t\t";
  142.         // line 22
  143.         if (array_key_exists("blocs"$context)) {
  144.             // line 23
  145.             echo "\t\t\t<h1 class=\"text-center\">";
  146.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.references.cases", [], "front"), "html"nulltrue);
  147.             echo "</h1>
  148. \t\t\t\t";
  149.         }
  150.         // line 25
  151.         echo "
  152. \t\t\t<div class=\"responsive-tabs\">
  153. \t\t\t\t<div class=\"nav-menu-scroll\">
  154. \t\t\t\t\t<ul class=\"nav\">
  155. \t\t\t\t\t\t";
  156.         // line 29
  157.         $context['_parent'] = $context;
  158.         $context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'29$this->source); })()));
  159.         foreach ($context['_seq'] as $context["itr"] => $context["souscat"]) {
  160.             // line 30
  161.             echo "\t\t\t\t\t\t\t<li class=\"nav-item\">
  162. \t\t\t\t\t\t\t
  163. \t\t\t\t\t\t\t\t<span class=\"wlc-ws\">Welcome</span>
  164. \t\t\t\t\t\t\t\t<a class=\"btn cat-touchscreen";
  165.             // line 33
  166.             if (((isset($context["idUrl"]) || array_key_exists("idUrl"$context) ? $context["idUrl"] : (function () { throw new RuntimeError('Variable "idUrl" does not exist.'33$this->source); })()) == twig_get_attribute($this->env$this->source$context["souscat"], "id", [], "any"falsefalsefalse33))) {
  167.                 echo " active";
  168.             }
  169.             echo "\" href=\"";
  170.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => twig_get_attribute($this->env$this->source$context["souscat"], "slug_sous_category", [], "any"falsefalsefalse33), "slug" => twig_get_attribute($this->env$this->source$context["souscat"], "item_slug_fr", [], "any"falsefalsefalse33)]), "html"nulltrue);
  171.             echo "\" id=\"sousCategorieTitre\">";
  172.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["souscat"], "sous_category_name", [], "any"falsefalsefalse33), "html"nulltrue);
  173.             echo "</a>
  174. \t\t\t\t\t\t\t</li>
  175. \t\t\t\t\t\t";
  176.         }
  177.         $_parent $context['_parent'];
  178.         unset($context['_seq'], $context['_iterated'], $context['itr'], $context['souscat'], $context['_parent'], $context['loop']);
  179.         $context array_intersect_key($context$_parent) + $_parent;
  180.         // line 37
  181.         echo "\t\t\t\t\t\t<li class=\"nav-item d-lg-block d-md-none d-none\">
  182. \t\t\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" ";
  183.         // line 38
  184.         if (array_key_exists("page_category"$context)) {
  185.             echo " href=\"";
  186.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => "voir_tout""slug" => twig_get_attribute($this->env$this->source, (isset($context["page_category"]) || array_key_exists("page_category"$context) ? $context["page_category"] : (function () { throw new RuntimeError('Variable "page_category" does not exist.'38$this->source); })()), "slug", [], "any"falsefalsefalse38)]), "html"nulltrue);
  187.             echo "\" ";
  188.         }
  189.         echo ">";
  190.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.see_all", [], "front"), "html"nulltrue);
  191.         echo "</a>
  192. \t\t\t\t\t\t</li>
  193. \t\t\t\t\t</ul>
  194. \t\t\t\t</div>
  195. \t\t\t\t<div class=\"mt-3 mb-3 text-center d-lg-none d-md-block d-block\">
  196. \t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" ";
  197.         // line 43
  198.         if (array_key_exists("page_category"$context)) {
  199.             echo " href=\"";
  200.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => "voir_tout""slug" => twig_get_attribute($this->env$this->source, (isset($context["page_category"]) || array_key_exists("page_category"$context) ? $context["page_category"] : (function () { throw new RuntimeError('Variable "page_category" does not exist.'43$this->source); })()), "slug", [], "any"falsefalsefalse43)]), "html"nulltrue);
  201.             echo "\" ";
  202.         }
  203.         echo ">";
  204.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.see_all", [], "front"), "html"nulltrue);
  205.         echo "</a>
  206. \t\t\t\t</div>
  207. \t\t\t\t<div class=\"cat-content\">
  208. \t\t\t\t\t<div class=\"all-categories\">
  209. \t\t\t\t\t\t<div class=\"row\">
  210. \t\t\t\t\t\t\t";
  211.         // line 49
  212.         $context['_parent'] = $context;
  213.         $context['_seq'] = twig_ensure_traversable((isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'49$this->source); })()));
  214.         foreach ($context['_seq'] as $context["itr"] => $context["PageitemsPage"]) {
  215.             // line 50
  216.             echo "
  217. \t\t\t\t\t\t\t\t<div class=\"col-md-6 item-cat-touchscreen\">
  218. \t\t\t\t\t\t\t\t\t<div class=\"card all-card\">
  219. \t\t\t\t\t\t\t\t\t\t<div class=\"box-img\">
  220. \t\t\t\t\t\t\t\t\t\t\t";
  221.             // line 55
  222.             $context["image_top"] = "";
  223.             // line 56
  224.             echo "\t\t\t\t\t\t\t\t\t\t\t";
  225.             list($context["image_down"], $context["logoPicture"]) =             [""""];
  226.             // line 57
  227.             echo "
  228. \t\t\t\t\t\t\t\t\t\t\t";
  229.             // line 59
  230.             $context['_parent'] = $context;
  231.             $context['_seq'] = twig_ensure_traversable($context["PageitemsPage"]);
  232.             foreach ($context['_seq'] as $context["key"] => $context["PageitemsMedia"]) {
  233.                 // line 60
  234.                 echo "
  235. \t\t\t\t\t\t\t\t\t\t\t\t";
  236.                 // line 61
  237.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], $context["key"], [], "array"falsefalsefalse61), "type", [], "any"falsefalsefalse61) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_VIGNETTE"))) {
  238.                     // line 62
  239.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  240.                     $context["image_top"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory"$context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.'62$this->source); })()) . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_path", [], "any"falsefalsefalse62)) . "/") . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_file", [], "any"falsefalsefalse62)));
  241.                     // line 63
  242.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  243.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], $context["key"], [], "array"falsefalsefalse63), "type", [], "any"falsefalsefalse63) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_STICKY"))) {
  244.                     // line 64
  245.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  246.                     $context["image_down"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory"$context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.'64$this->source); })()) . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_path", [], "any"falsefalsefalse64)) . "/") . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_file", [], "any"falsefalsefalse64)));
  247.                     // line 65
  248.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  249.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], $context["key"], [], "array"falsefalsefalse65), "type", [], "any"falsefalsefalse65) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_LOGO_PICTURE"))) {
  250.                     // line 66
  251.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  252.                     $context["logoPicture"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory"$context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.'66$this->source); })()) . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_path", [], "any"falsefalsefalse66)) . "/") . twig_get_attribute($this->env$this->source$context["PageitemsMedia"], "media_page_items_file", [], "any"falsefalsefalse66)));
  253.                     // line 67
  254.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  255.                 }
  256.                 // line 68
  257.                 echo "
  258. \t\t\t\t\t\t\t\t\t\t\t";
  259.             }
  260.             $_parent $context['_parent'];
  261.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['PageitemsMedia'], $context['_parent'], $context['loop']);
  262.             $context array_intersect_key($context$_parent) + $_parent;
  263.             // line 70
  264.             echo "\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  265.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], 0, [], "array"falsefalsefalse70), "slug", [], "any"falsefalsefalse70)]), "html"nulltrue);
  266.             echo "\">
  267. \t\t\t\t\t\t\t\t\t\t\t\t<div style=\"background-image:url(";
  268.             // line 71
  269.             echo twig_escape_filter($this->env, (isset($context["image_top"]) || array_key_exists("image_top"$context) ? $context["image_top"] : (function () { throw new RuntimeError('Variable "image_top" does not exist.'71$this->source); })()), "html"nulltrue);
  270.             echo ") ;background-repeat: no-repeat; background-position: center;background-size:cover; ;\" class=\"img1 card-img-ref\">
  271. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  272. \t\t\t\t\t\t\t\t\t\t\t</a>
  273. \t\t\t\t\t\t\t\t\t\t\t<div  onclick=\"window.location='";
  274.             // line 74
  275.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], 0, [], "array"falsefalsefalse74), "slug", [], "any"falsefalsefalse74)]), "html"nulltrue);
  276.             echo "';\" style=\"background-image:url(";
  277.             echo twig_escape_filter($this->env, (isset($context["image_down"]) || array_key_exists("image_down"$context) ? $context["image_down"] : (function () { throw new RuntimeError('Variable "image_down" does not exist.'74$this->source); })()), "html"nulltrue);
  278.             echo ") ;background-repeat: no-repeat;background-size: 100%;  background-position: center; cursor:pointer ;\" class=\"img2 card-img-ref\">
  279. \t\t\t\t\t\t\t\t\t\t\t</div>
  280. \t\t\t\t\t\t\t\t\t\t\t";
  281.             // line 76
  282.             if ((isset($context["logoPicture"]) || array_key_exists("logoPicture"$context) ? $context["logoPicture"] : (function () { throw new RuntimeError('Variable "logoPicture" does not exist.'76$this->source); })())) {
  283.                 echo " <img src=\"";
  284.                 echo twig_escape_filter($this->env, (isset($context["logoPicture"]) || array_key_exists("logoPicture"$context) ? $context["logoPicture"] : (function () { throw new RuntimeError('Variable "logoPicture" does not exist.'76$this->source); })()), "html"nulltrue);
  285.                 echo "\" class=\"card-img-macaron\"> ";
  286.             }
  287.             // line 77
  288.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  289. \t\t\t\t\t\t\t\t\t\t<div class=\"card-box\">
  290. \t\t\t\t\t\t\t\t\t\t\t";
  291.             // line 80
  292.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], 0, [], "array"falsefalsefalse80), "description", [], "any"falsefalsefalse80)) {
  293.                 // line 81
  294.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  295.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], 0, [], "array"falsefalsefalse81), "description", [], "any"falsefalsefalse81);
  296.                 echo "
  297. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  298.                 // line 83
  299.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["PageitemsPage"], 0, [], "array"falsefalsefalse83), "slug", [], "any"falsefalsefalse83)]), "html"nulltrue);
  300.                 echo "\" class=\"btn btn-ref\">";
  301.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.read_more", [], "front"), "html"nulltrue);
  302.                 echo "</a>
  303. \t\t\t\t\t\t\t\t\t\t\t";
  304.             }
  305.             // line 85
  306.             echo "\t\t\t\t\t\t\t\t\t\t</div>
  307. \t\t\t\t\t\t\t\t\t</div>
  308. \t\t\t\t\t\t\t\t</div>
  309. \t\t\t\t\t\t\t";
  310.         }
  311.         $_parent $context['_parent'];
  312.         unset($context['_seq'], $context['_iterated'], $context['itr'], $context['PageitemsPage'], $context['_parent'], $context['loop']);
  313.         $context array_intersect_key($context$_parent) + $_parent;
  314.         // line 89
  315.         echo "
  316. \t\t\t\t\t\t</div>
  317. \t\t\t\t\t</div>
  318. \t\t\t\t</div>
  319. \t\t\t</div>
  320. \t\t</div>
  321. \t</div>
  322. ";
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.         
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327.     }
  328.     // line 99
  329.     public function block_javascripts($context, array $blocks = [])
  330.     {
  331.         $macros $this->macros;
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  336.         // line 100
  337.         echo "\t";
  338.         $this->displayParentBlock("javascripts"$context$blocks);
  339.         echo "
  340. ";
  341.         
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  343.         
  344.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  345.     }
  346.     public function getTemplateName()
  347.     {
  348.         return "front/pages/page_category/index.html.twig";
  349.     }
  350.     public function isTraitable()
  351.     {
  352.         return false;
  353.     }
  354.     public function getDebugInfo()
  355.     {
  356.         return array (  374 => 100,  364 => 99,  346 => 89,  337 => 85,  330 => 83,  324 => 81,  322 => 80,  317 => 77,  311 => 76,  304 => 74,  298 => 71,  293 => 70,  286 => 68,  283 => 67,  280 => 66,  277 => 65,  274 => 64,  271 => 63,  268 => 62,  266 => 61,  263 => 60,  259 => 59,  255 => 57,  252 => 56,  250 => 55,  243 => 50,  239 => 49,  224 => 43,  210 => 38,  207 => 37,  191 => 33,  186 => 30,  182 => 29,  176 => 25,  170 => 23,  168 => 22,  165 => 21,  162 => 20,  148 => 19,  145 => 18,  127 => 17,  125 => 16,  121 => 14,  118 => 13,  108 => 12,  94 => 8,  84 => 7,  71 => 4,  61 => 3,  38 => 1,);
  357.     }
  358.     public function getSourceContext()
  359.     {
  360.         return new Source("{% extends 'front/layouts/base.html.twig' %}
  361. {% block title %}
  362. \t{{ metaTitle() ? metaTitle() :   'front.menu.references'|trans({}, 'front')  }}
  363. {% endblock %}
  364. {% block stylesheets %}
  365. \t{{ parent() }}
  366. {% endblock %}
  367. {% block body %}
  368. \t{% set idUrl = app.request.get('id') %}
  369. \t<div class=\"container reveal\">
  370. \t{% if blocs is not null  %}
  371. \t\t{% for bloc in blocs %}
  372. \t\t\t{% include \"front/bloc/index.html.twig\" %}
  373. \t\t{% endfor %}
  374. \t{% endif %}
  375. \t\t<div class=\"section-ref\">
  376. \t\t{% if blocs is defined   %}
  377. \t\t\t<h1 class=\"text-center\">{{ 'front.references.cases'|trans({}, 'front') }}</h1>
  378. \t\t\t\t{% endif %}
  379. \t\t\t<div class=\"responsive-tabs\">
  380. \t\t\t\t<div class=\"nav-menu-scroll\">
  381. \t\t\t\t\t<ul class=\"nav\">
  382. \t\t\t\t\t\t{% for itr, souscat in items %}
  383. \t\t\t\t\t\t\t<li class=\"nav-item\">
  384. \t\t\t\t\t\t\t
  385. \t\t\t\t\t\t\t\t<span class=\"wlc-ws\">Welcome</span>
  386. \t\t\t\t\t\t\t\t<a class=\"btn cat-touchscreen{% if idUrl == souscat.id %} active{% endif %}\" href=\"{{ path('filter', {'id': souscat.slug_sous_category, 'slug': souscat.item_slug_fr}) }}\" id=\"sousCategorieTitre\">{{souscat.sous_category_name}}</a>
  387. \t\t\t\t\t\t\t</li>
  388. \t\t\t\t\t\t{% endfor %}
  389. \t\t\t\t\t\t<li class=\"nav-item d-lg-block d-md-none d-none\">
  390. \t\t\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" {% if page_category is defined %} href=\"{{ path('filter', {'id': 'voir_tout', 'slug' : page_category.slug}) }}\" {% endif %}>{{ 'front.actions.see_all'|trans({}, 'front') }}</a>
  391. \t\t\t\t\t\t</li>
  392. \t\t\t\t\t</ul>
  393. \t\t\t\t</div>
  394. \t\t\t\t<div class=\"mt-3 mb-3 text-center d-lg-none d-md-block d-block\">
  395. \t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" {% if page_category is defined %} href=\"{{ path('filter', {'id': 'voir_tout', 'slug' : page_category.slug }) }}\" {% endif %}>{{ 'front.actions.see_all'|trans({}, 'front') }}</a>
  396. \t\t\t\t</div>
  397. \t\t\t\t<div class=\"cat-content\">
  398. \t\t\t\t\t<div class=\"all-categories\">
  399. \t\t\t\t\t\t<div class=\"row\">
  400. \t\t\t\t\t\t\t{% for itr, PageitemsPage in pages %}
  401. \t\t\t\t\t\t\t\t<div class=\"col-md-6 item-cat-touchscreen\">
  402. \t\t\t\t\t\t\t\t\t<div class=\"card all-card\">
  403. \t\t\t\t\t\t\t\t\t\t<div class=\"box-img\">
  404. \t\t\t\t\t\t\t\t\t\t\t{% set image_top = \"\" %}
  405. \t\t\t\t\t\t\t\t\t\t\t{% set image_down, logoPicture = \"\" , \"\" %}
  406. \t\t\t\t\t\t\t\t\t\t\t{% for  key,PageitemsMedia  in PageitemsPage %}
  407. \t\t\t\t\t\t\t\t\t\t\t\t{% if PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_VIGNETTE') %}
  408. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set image_top =  asset(uploads_directory ~ PageitemsMedia.media_page_items_path  ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
  409. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_STICKY') %}
  410. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set image_down =  asset(uploads_directory ~ PageitemsMedia.media_page_items_path  ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
  411. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_LOGO_PICTURE') %}
  412. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set logoPicture =  asset(uploads_directory ~ PageitemsMedia.media_page_items_path  ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
  413. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  414. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  415. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}\">
  416. \t\t\t\t\t\t\t\t\t\t\t\t<div style=\"background-image:url({{image_top}}) ;background-repeat: no-repeat; background-position: center;background-size:cover; ;\" class=\"img1 card-img-ref\">
  417. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  418. \t\t\t\t\t\t\t\t\t\t\t</a>
  419. \t\t\t\t\t\t\t\t\t\t\t<div  onclick=\"window.location='{{path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}';\" style=\"background-image:url({{image_down}}) ;background-repeat: no-repeat;background-size: 100%;  background-position: center; cursor:pointer ;\" class=\"img2 card-img-ref\">
  420. \t\t\t\t\t\t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t\t\t\t\t\t{% if logoPicture %} <img src=\"{{ logoPicture }}\" class=\"card-img-macaron\"> {% endif %}
  422. \t\t\t\t\t\t\t\t\t\t</div>
  423. \t\t\t\t\t\t\t\t\t\t<div class=\"card-box\">
  424. \t\t\t\t\t\t\t\t\t\t\t{% if PageitemsPage[0].description %}
  425. \t\t\t\t\t\t\t\t\t\t\t\t{{PageitemsPage[0].description | raw}}
  426. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}\" class=\"btn btn-ref\">{{ 'front.actions.read_more'|trans({}, 'front') }}</a>
  427. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  428. \t\t\t\t\t\t\t\t\t\t</div>
  429. \t\t\t\t\t\t\t\t\t</div>
  430. \t\t\t\t\t\t\t\t</div>
  431. \t\t\t\t\t\t\t{% endfor %}
  432. \t\t\t\t\t\t</div>
  433. \t\t\t\t\t</div>
  434. \t\t\t\t</div>
  435. \t\t\t</div>
  436. \t\t</div>
  437. \t</div>
  438. {% endblock %}
  439. {% block javascripts %}
  440. \t{{ parent() }}
  441. {% endblock %}
  442. ""front/pages/page_category/index.html.twig""/mnt/disk/www/netisse2023/templates/front/pages/page_category/index.html.twig");
  443.     }
  444. }