var/cache/dev/twig/0c/0c7d7a752e57b9dd053620ee1dd3b165.php line 47

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_a1f53b3c1dd58233a580d418687b986d 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/show.html.twig"));
  38.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@SyliusShop/Product/show.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.     }
  43.     // line 3
  44.     public function block_title($context, array $blocks = [])
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  49.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse3), "html"nulltrue);
  50.         echo " | ";
  51.         $this->displayParentBlock("title"$context$blocks);
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.     }
  55.     // line 5
  56.     public function block_content($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         // line 6
  62.         $this->loadTemplate("@SyliusShop/Product/Show/_breadcrumb.html.twig""@SyliusShop/Product/show.html.twig"6)->display($context);
  63.         // line 7
  64.         echo "<div class=\"ui hidden divider\"></div>
  65. <div class=\"ui two column stackable grid\">
  66.     <div class=\"column\">
  67.         ";
  68.         // line 11
  69.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.left_sidebar"$context);
  70.         echo "
  71.     </div>
  72.     <div class=\"column\">
  73.         ";
  74.         // line 14
  75.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.right_sidebar"$context);
  76.         echo "
  77.     </div>
  78. </div>
  79. ";
  80.         // line 18
  81.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.product.show.content"$context);
  82.         echo "
  83. ";
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     // line 21
  88.     public function block_javascripts($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  93.         // line 22
  94.         $this->displayParentBlock("javascripts"$context$blocks);
  95.         echo "
  96. <script type=\"text/javascript\">
  97.     lightbox.option({
  98.         'albumLabel': '";
  99.         // line 26
  100.         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);
  101.         echo "'
  102.     });
  103. </script>
  104. ";
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     public function getTemplateName()
  109.     {
  110.         return "@SyliusShop/Product/show.html.twig";
  111.     }
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     public function getDebugInfo()
  117.     {
  118.         return array (  120 => 26,  113 => 22,  106 => 21,  97 => 18,  90 => 14,  84 => 11,  78 => 7,  76 => 6,  69 => 5,  54 => 3,  37 => 1,);
  119.     }
  120.     public function getSourceContext()
  121.     {
  122.         return new Source("""@SyliusShop/Product/show.html.twig""/srv/open_marketplace/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Product/show.html.twig");
  123.     }
  124. }