var/cache/dev/twig/03/03f44cedde4e7c875e3b63f5f0cb40c766cf5cb491ceddd638acbd7e773d5664.php line 67

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/Homepage/_kitList.html.twig */
  14. class __TwigTemplate_f3a284ee100369e7984e8a0f46b48f616bae1ece9368facb3a8e913b62899c56 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_kitList.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/_kitList.html.twig"));
  33.         // line 1
  34.         $context["block_kit_index"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("solar_kit_index"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'1$this->source); })()), "channel", [], "any"falsefalsefalse1), "code", [], "any"falsefalsefalse1));
  35.         // line 2
  36.         echo "
  37. <section class=\"bloc-kit\">
  38.     <div class=\"max-kit-content\">
  39.         <h2 class=\"title-medium text-center text-uppercase big-onmobile\">";
  40.         // line 5
  41.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.common.solar_kit"), "html"nulltrue);
  42.         echo "</h2>
  43.         <div class=\"text-center text-grey max-container-txt m-auto py-3 fontsize-normal\">
  44.             ";
  45.         // line 7
  46.         if ((array_key_exists("block_kit_index"$context) && (isset($context["block_kit_index"]) || array_key_exists("block_kit_index"$context) ? $context["block_kit_index"] : (function () { throw new RuntimeError('Variable "block_kit_index" does not exist.'7$this->source); })()))) {
  47.             // line 8
  48.             echo "                ";
  49.             echo twig_get_attribute($this->env$this->source, (isset($context["block_kit_index"]) || array_key_exists("block_kit_index"$context) ? $context["block_kit_index"] : (function () { throw new RuntimeError('Variable "block_kit_index" does not exist.'8$this->source); })()), "content", [], "any"falsefalsefalse8);
  50.             echo "
  51.             ";
  52.         }
  53.         // line 10
  54.         echo "        </div>
  55.         <div class=\"d-flex justify-content-center flex-wrap margin-row-kit pt-3 pb-md-4 pb-3\">
  56.             ";
  57.         // line 12
  58.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_shop_partial_product_index_solarkit", ["count" => 5"template" => "@SyliusShop/Homepage/_list.html.twig"]));
  59.         echo "
  60.         </div>
  61.     </div>
  62. </section>
  63. ";
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.     }
  69.     public function getTemplateName()
  70.     {
  71.         return "@SyliusShop/Homepage/_kitList.html.twig";
  72.     }
  73.     public function isTraitable()
  74.     {
  75.         return false;
  76.     }
  77.     public function getDebugInfo()
  78.     {
  79.         return array (  67 => 12,  63 => 10,  57 => 8,  55 => 7,  50 => 5,  45 => 2,  43 => 1,);
  80.     }
  81.     public function getSourceContext()
  82.     {
  83.         return new Source("{% set block_kit_index = app_get_blocks('solar_kit_index', sylius.channel.code )  %}
  84. <section class=\"bloc-kit\">
  85.     <div class=\"max-kit-content\">
  86.         <h2 class=\"title-medium text-center text-uppercase big-onmobile\">{{'app.common.solar_kit'|trans}}</h2>
  87.         <div class=\"text-center text-grey max-container-txt m-auto py-3 fontsize-normal\">
  88.             {% if block_kit_index is defined and block_kit_index %}
  89.                 {{ block_kit_index.content|raw }}
  90.             {% endif %}
  91.         </div>
  92.         <div class=\"d-flex justify-content-center flex-wrap margin-row-kit pt-3 pb-md-4 pb-3\">
  93.             {{ render(url('app_shop_partial_product_index_solarkit', {'count': 5, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  94.         </div>
  95.     </div>
  96. </section>
  97. ""@SyliusShop/Homepage/_kitList.html.twig""/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Homepage/_kitList.html.twig");
  98.     }
  99. }