var/cache/dev/twig/58/580e7ff8c0b75efa4e0c16a7ebe94a0e314d9e74906aa816788d838478bc50be.php line 50

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. /* @BitBagSyliusCmsPlugin/Shop/Page/show.html.twig */
  14. class __TwigTemplate_96a4cacae6d5cb8c02d82aa8994dd87a6808971cd95eb74db93f879cfa7621fc 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.             'metatags' => [$this'block_metatags'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@SyliusShop/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
  40.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 2
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         // line 3
  56.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'3$this->source); })()), "title", [], "any"falsefalsefalse3))) {
  57.             // line 4
  58.             echo "        ";
  59.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4), "html"nulltrue);
  60.             echo "
  61.     ";
  62.         } else {
  63.             // line 6
  64.             echo "        ";
  65.             $this->displayParentBlock("title"$context$blocks);
  66.             echo "
  67.     ";
  68.         }
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 9
  75.     public function block_metatags($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  82.         // line 10
  83.         echo "    ";
  84.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'10$this->source); })()), "metaKeywords", [], "any"falsefalsefalse10))) {
  85.             // line 11
  86.             echo "        <meta name=\"keywords\" content=\"";
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'11$this->source); })()), "metaKeywords", [], "any"falsefalsefalse11), "html"nulltrue);
  88.             echo "\"/>
  89.     ";
  90.         }
  91.         // line 13
  92.         echo "    ";
  93.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'13$this->source); })()), "metaDescription", [], "any"falsefalsefalse13))) {
  94.             // line 14
  95.             echo "        <meta name=\"description\" content=\"";
  96.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'14$this->source); })()), "metaDescription", [], "any"falsefalsefalse14), "html"nulltrue);
  97.             echo "\"/>
  98.     ";
  99.         }
  100.         
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  102.         
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  104.     }
  105.     // line 17
  106.     public function block_content($context, array $blocks = [])
  107.     {
  108.         $macros $this->macros;
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  113.         // line 18
  114.         echo "    <h1 class=\"ui dividing header bitbag-page-name\">";
  115.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'18$this->source); })()), "name", [], "any"falsefalsefalse18), "html"nulltrue);
  116.         echo "</h1>
  117.     <div class=\"page-container\">
  118.         <div class=\"ui segment\">
  119.             ";
  120.         // line 22
  121.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })()), "image", [], "any"falsefalsefalse22)) {
  122.             // line 23
  123.             echo "                ";
  124.             $context["path"] = (((array_key_exists("preview"$context) && ((isset($context["preview"]) || array_key_exists("preview"$context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.'23$this->source); })()) == true))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "image", [], "any"falsefalsefalse23), "path", [], "any"falsefalsefalse23)) : (("/media/image/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "image", [], "any"falsefalsefalse23), "path", [], "any"falsefalsefalse23))));
  125.             // line 24
  126.             echo "            ";
  127.         }
  128.         // line 25
  129.         echo "            <div class=\"ui grid center aligned ";
  130.         if (array_key_exists("path"$context)) {
  131.             echo "banner-page\"";
  132.         }
  133.         echo " ";
  134.         if (array_key_exists("path"$context)) {
  135.             echo "style=\"background-image: url(";
  136.             echo twig_escape_filter($this->env, (isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'25$this->source); })()), "html"nulltrue);
  137.             echo ")\"";
  138.         }
  139.         echo ">
  140.                 <div class=\"ui breadcrumb\" ";
  141.         // line 26
  142.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'26$this->source); })()), "textColor", [], "any"falsefalsefalse26)) {
  143.             echo "style=\"color: ";
  144.             echo twig_escape_filter($this->env, ("#" twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'26$this->source); })()), "textColor", [], "any"falsefalsefalse26)), "html"nulltrue);
  145.             echo "\"";
  146.         }
  147.         echo ">
  148.                     <a href=\"";
  149.         // line 27
  150.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  151.         echo "\" class=\"section\">";
  152.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  153.         echo "</a>
  154.                     <div class=\"divider\"> /</div>
  155.                     <div class=\"active section\">";
  156.         // line 29
  157.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'29$this->source); })()), "breadcrumb", [], "any"falsefalsefalse29), "html"nulltrue);
  158.         echo "</div>
  159.                 </div>
  160.                 <div class=\"page-header\">
  161.                     <h2 class=\"ui dividing header title-h2-header\" ";
  162.         // line 32
  163.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'32$this->source); })()), "textColor", [], "any"falsefalsefalse32)) {
  164.             echo "style=\"color: ";
  165.             echo twig_escape_filter($this->env, ("#" twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'32$this->source); })()), "textColor", [], "any"falsefalsefalse32)), "html"nulltrue);
  166.             echo "\"";
  167.         }
  168.         echo ">";
  169.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'32$this->source); })()), "title", [], "any"falsefalsefalse32), "html"nulltrue);
  170.         echo "</h2>
  171.                     <div class=\"ui dividing\" ";
  172.         // line 33
  173.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'33$this->source); })()), "textColor", [], "any"falsefalsefalse33)) {
  174.             echo "style=\"color: ";
  175.             echo twig_escape_filter($this->env, ("#" twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'33$this->source); })()), "textColor", [], "any"falsefalsefalse33)), "html"nulltrue);
  176.             echo "\"";
  177.         }
  178.         echo ">";
  179.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'33$this->source); })()), "translation", [], "any"falsefalsefalse33), "textHeader", [], "any"falsefalsefalse33), "html"nulltrue);
  180.         echo "</div>
  181.                 </div>
  182.             </div>
  183.             <div class=\"ui hidden divider\"></div>
  184.             <div class=\"bitbag-page-content\" style=\"display: flex; justify-content: center; align-items: center; ";
  185.         // line 37
  186.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'37$this->source); })()), "backgroundColor", [], "any"falsefalsefalse37)) {
  187.             echo "background-color: ";
  188.             echo twig_escape_filter($this->env, ("#" twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'37$this->source); })()), "backgroundColor", [], "any"falsefalsefalse37)), "html"nulltrue);
  189.             echo ";";
  190.         }
  191.         echo "\">
  192.                 <div class=\"page-content-before-blocks\" style=\"";
  193.         // line 38
  194.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'38$this->source); })()), "contentWidth", [], "any"falsefalsefalse38)) {
  195.             echo "width: ";
  196.             echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'38$this->source); })()), "contentWidth", [], "any"falsefalsefalse38) . "%"), "html"nulltrue);
  197.             echo "; ";
  198.         }
  199.         echo "\">
  200.                     ";
  201.         // line 39
  202.         echo twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'39$this->source); })()), "content", [], "any"falsefalsefalse39);
  203.         echo "
  204.                 </div>
  205.             </div>
  206.             ";
  207.         // line 43
  208.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'43$this->source); })()), "blocks", [], "any"falsefalsefalse43)) > 0)) {
  209.             // line 44
  210.             echo "                <div class=\"page-blocks\">
  211.                     ";
  212.             // line 45
  213.             $context['_parent'] = $context;
  214.             $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\Extensions\Cms\PageExtension']->getBlock((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'45$this->source); })())));
  215.             $context['loop'] = [
  216.               'parent' => $context['_parent'],
  217.               'index0' => 0,
  218.               'index'  => 1,
  219.               'first'  => true,
  220.             ];
  221.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  222.                 $length count($context['_seq']);
  223.                 $context['loop']['revindex0'] = $length 1;
  224.                 $context['loop']['revindex'] = $length;
  225.                 $context['loop']['length'] = $length;
  226.                 $context['loop']['last'] = === $length;
  227.             }
  228.             foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  229.                 // line 46
  230.                 echo "                        ";
  231.                 $this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/Page/block.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"46)->display(twig_array_merge($context, ["block" => $context["block"]]));
  232.                 // line 47
  233.                 echo "                    ";
  234.                 ++$context['loop']['index0'];
  235.                 ++$context['loop']['index'];
  236.                 $context['loop']['first'] = false;
  237.                 if (isset($context['loop']['length'])) {
  238.                     --$context['loop']['revindex0'];
  239.                     --$context['loop']['revindex'];
  240.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  241.                 }
  242.             }
  243.             $_parent $context['_parent'];
  244.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  245.             $context array_intersect_key($context$_parent) + $_parent;
  246.             // line 48
  247.             echo "                </div>
  248.             ";
  249.         }
  250.         // line 50
  251.         echo "            <div class=\"ui dividing header\"></div>
  252.             
  253.         </div>
  254.     </div>
  255.     ";
  256.         // line 55
  257.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'55$this->source); })()), "products", [], "any"falsefalsefalse55)) > 0)) {
  258.             // line 56
  259.             echo "        <div class=\"article-bottom contenu-art-top \">
  260.             <div class=\"container p-0\">
  261.                 <h2 class=\"titre-top-content bloc-nouv-top\"><strong>
  262.                     ";
  263.             // line 59
  264.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_cms_plugin.ui.page_related_products"), "html"nulltrue);
  265.             echo "
  266.                 </h2>
  267.                 <div class=\"bitbag-page-products\">
  268.                     ";
  269.             // line 62
  270.             $this->loadTemplate("@SyliusShop/Product/_horizontalList.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"62)->display(twig_array_merge($context, ["products" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'62$this->source); })()), "products", [], "any"falsefalsefalse62)]));
  271.             // line 63
  272.             echo "                </div>
  273.             </div>
  274.         </div>
  275.     ";
  276.         }
  277.         // line 67
  278.         echo "\t";
  279.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'67$this->source); })()), "code", [], "any"falsefalsefalse67) == "demontage")) {
  280.             // line 68
  281.             echo "\t\t";
  282.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_shop_partial_contact_request"));
  283.             echo "
  284. \t";
  285.         }
  286.         
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  288.         
  289.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  290.     }
  291.     public function getTemplateName()
  292.     {
  293.         return "@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig";
  294.     }
  295.     public function isTraitable()
  296.     {
  297.         return false;
  298.     }
  299.     public function getDebugInfo()
  300.     {
  301.         return array (  308 => 68,  305 => 67,  299 => 63,  297 => 62,  291 => 59,  286 => 56,  284 => 55,  277 => 50,  273 => 48,  259 => 47,  256 => 46,  239 => 45,  236 => 44,  234 => 43,  227 => 39,  219 => 38,  211 => 37,  198 => 33,  188 => 32,  182 => 29,  175 => 27,  167 => 26,  154 => 25,  151 => 24,  148 => 23,  146 => 22,  138 => 18,  128 => 17,  114 => 14,  111 => 13,  105 => 11,  102 => 10,  92 => 9,  78 => 6,  72 => 4,  70 => 3,  60 => 2,  37 => 1,);
  302.     }
  303.     public function getSourceContext()
  304.     {
  305.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  306. {%- block title -%}
  307.     {% if page.title is not empty %}
  308.         {{ page.title }}
  309.     {% else %}
  310.         {{ parent() }}
  311.     {% endif %}
  312. {%- endblock -%}
  313. {% block metatags %}
  314.     {% if page.metaKeywords is not empty %}
  315.         <meta name=\"keywords\" content=\"{{ page.metaKeywords }}\"/>
  316.     {% endif %}
  317.     {% if page.metaDescription is not empty %}
  318.         <meta name=\"description\" content=\"{{ page.metaDescription }}\"/>
  319.     {% endif %}
  320. {% endblock %}
  321. {% block content %}
  322.     <h1 class=\"ui dividing header bitbag-page-name\">{{ page.name }}</h1>
  323.     <div class=\"page-container\">
  324.         <div class=\"ui segment\">
  325.             {% if page.image %}
  326.                 {% set path = preview is defined and preview == true ? page.image.path : '/media/image/'~page.image.path %}
  327.             {% endif %}
  328.             <div class=\"ui grid center aligned {% if path is defined %}banner-page\"{% endif%} {% if path is defined %}style=\"background-image: url({{ path }})\"{% endif %}>
  329.                 <div class=\"ui breadcrumb\" {% if page.textColor %}style=\"color: {{ \"#\" ~ page.textColor }}\"{% endif %}>
  330.                     <a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section\">{{ 'sylius.ui.home'|trans }}</a>
  331.                     <div class=\"divider\"> /</div>
  332.                     <div class=\"active section\">{{ page.breadcrumb }}</div>
  333.                 </div>
  334.                 <div class=\"page-header\">
  335.                     <h2 class=\"ui dividing header title-h2-header\" {% if page.textColor %}style=\"color: {{ \"#\" ~ page.textColor }}\"{% endif %}>{{ page.title }}</h2>
  336.                     <div class=\"ui dividing\" {% if page.textColor %}style=\"color: {{ \"#\" ~ page.textColor }}\"{% endif %}>{{ page.translation.textHeader }}</div>
  337.                 </div>
  338.             </div>
  339.             <div class=\"ui hidden divider\"></div>
  340.             <div class=\"bitbag-page-content\" style=\"display: flex; justify-content: center; align-items: center; {% if page.backgroundColor %}background-color: {{ \"#\" ~ page.backgroundColor }};{% endif %}\">
  341.                 <div class=\"page-content-before-blocks\" style=\"{% if page.contentWidth %}width: {{ page.contentWidth ~ \"%\" }}; {% endif %}\">
  342.                     {{ page.content|raw }}
  343.                 </div>
  344.             </div>
  345.             {% if page.blocks|length > 0 %}
  346.                 <div class=\"page-blocks\">
  347.                     {% for block in app_get_page_blocks(page) %}
  348.                         {% include '@BitBagSyliusCmsPlugin/Shop/Page/block.html.twig' with {'block': block} %}
  349.                     {% endfor %}
  350.                 </div>
  351.             {% endif %}
  352.             <div class=\"ui dividing header\"></div>
  353.             
  354.         </div>
  355.     </div>
  356.     {% if page.products|length > 0 %}
  357.         <div class=\"article-bottom contenu-art-top \">
  358.             <div class=\"container p-0\">
  359.                 <h2 class=\"titre-top-content bloc-nouv-top\"><strong>
  360.                     {{ 'bitbag_sylius_cms_plugin.ui.page_related_products'|trans }}
  361.                 </h2>
  362.                 <div class=\"bitbag-page-products\">
  363.                     {% include '@SyliusShop/Product/_horizontalList.html.twig' with {'products': page.products} %}
  364.                 </div>
  365.             </div>
  366.         </div>
  367.     {% endif %}
  368. \t{% if page.code == \"demontage\" %}
  369. \t\t{{ render(url('app_shop_partial_contact_request')) }}
  370. \t{% endif %}
  371. {% endblock %}
  372. ""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig""/home/rayonnage/preprod/sylius/themes/BootstrapTheme/BitBagSyliusCmsPlugin/views/Shop/Page/show.html.twig");
  373.     }
  374. }