var/cache/dev/twig/c3/c3e9822dea5a7138f581848866454a9f266944edf5ea6423c4ab958a912a995b.php line 81

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. /* @SyliusShop/Product/show.html.twig */
  14. class __TwigTemplate_3ea8931058c8d771d76c6e1319ed5e7249066bcd4e2f52d5f0897ed7f27ed710 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.             'content' => [$this'block_content'],
  25.             'javascripts' => [$this'block_javascripts'],
  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""@SyliusShop/Product/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""@SyliusShop/Product/show.html.twig"));
  40.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Product/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 3
  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.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'3$this->source); })()), "name", [], "any"falsefalsefalse3), "html"nulltrue);
  56.         echo " | ";
  57.         $this->displayParentBlock("title"$context$blocks);
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 5
  64.     public function block_content($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         // line 6
  72.         echo "    ";
  73.         $this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig""@SyliusShop/Product/show.html.twig"6)->display($context);
  74.         // line 7
  75.         echo "
  76.     <div class=\"ui hidden divider\"></div>
  77.     <div class=\"ui two column stackable grid pageDetailProduct\">
  78.         <div class=\"four wide column globalSidebar sidebarDesktop\">
  79.             ";
  80.         // line 12
  81.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Custom\\MenuController:renderMenu", ["type" => "sidebar"]));
  82.         // line 14
  83.         echo "
  84.         </div>
  85.         <div class=\"twelve wide column itemProductDetail\">
  86.             <div class=\"ui two column stackable grid\">
  87.                 <div class=\"two column\">
  88.                     ";
  89.         // line 19
  90.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar"$context);
  91.         echo "
  92.                 </div>
  93.                 <div class=\"fourteen column\">
  94.                     ";
  95.         // line 22
  96.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar"$context);
  97.         echo "
  98.                 </div>
  99.             </div>
  100.             <h1 class=\"ui horizontal divider center aligned section header\">Descriptif du produit</h1>
  101.             ";
  102.         // line 28
  103.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.tab_details"$context);
  104.         echo "
  105.         </div>
  106.     </div>
  107.     ";
  108.         // line 32
  109.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content"$context);
  110.         echo "
  111. ";
  112.         
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  114.         
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  116.     }
  117.     // line 35
  118.     public function block_javascripts($context, array $blocks = [])
  119.     {
  120.         $macros $this->macros;
  121.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  125.         // line 36
  126.         echo "    ";
  127.         $this->displayParentBlock("javascripts"$context$blocks);
  128.         echo "
  129.     <script type=\"text/javascript\">
  130.         lightbox.option({
  131.             'albumLabel': '";
  132.         // line 40
  133.         echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.lightbox.image_album_label"), "js"), "html"nulltrue);
  134.         echo "'
  135.         });
  136.     </script>
  137. ";
  138.         
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.     }
  143.     public function getTemplateName()
  144.     {
  145.         return "@SyliusShop/Product/show.html.twig";
  146.     }
  147.     public function isTraitable()
  148.     {
  149.         return false;
  150.     }
  151.     public function getDebugInfo()
  152.     {
  153.         return array (  162 => 40,  154 => 36,  144 => 35,  132 => 32,  125 => 28,  116 => 22,  110 => 19,  103 => 14,  101 => 12,  94 => 7,  91 => 6,  81 => 5,  60 => 3,  37 => 1,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  158. {% block title %}{{ product.name }} | {{ parent() }}{% endblock %}
  159. {% block content %}
  160.     {% include '@SyliusShop/Product/Show/_breadcrumb.html.twig' %}
  161.     <div class=\"ui hidden divider\"></div>
  162.     <div class=\"ui two column stackable grid pageDetailProduct\">
  163.         <div class=\"four wide column globalSidebar sidebarDesktop\">
  164.             {{ render(controller('App\\\\Controller\\\\Custom\\\\MenuController:renderMenu', {
  165.                 'type': 'sidebar'
  166.             })) }}
  167.         </div>
  168.         <div class=\"twelve wide column itemProductDetail\">
  169.             <div class=\"ui two column stackable grid\">
  170.                 <div class=\"two column\">
  171.                     {{ sylius_template_event('sylius.shop.product.show.left_sidebar', _context) }}
  172.                 </div>
  173.                 <div class=\"fourteen column\">
  174.                     {{ sylius_template_event('sylius.shop.product.show.right_sidebar', _context) }}
  175.                 </div>
  176.             </div>
  177.             <h1 class=\"ui horizontal divider center aligned section header\">Descriptif du produit</h1>
  178.             {{ sylius_template_event('sylius.shop.product.show.tab_details', _context) }}
  179.         </div>
  180.     </div>
  181.     {{ sylius_template_event('sylius.shop.product.show.content', _context) }}
  182. {% endblock %}
  183. {% block javascripts %}
  184.     {{ parent() }}
  185.     <script type=\"text/javascript\">
  186.         lightbox.option({
  187.             'albumLabel': '{{ 'sylius.lightbox.image_album_label'|trans|escape('js') }}'
  188.         });
  189.     </script>
  190. {% endblock %}
  191. ""@SyliusShop/Product/show.html.twig""/var/www/html/templates/bundles/SyliusShopBundle/Product/show.html.twig");
  192.     }
  193. }