<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SyliusShop/Homepage/_kitList.html.twig */
class __TwigTemplate_f3a284ee100369e7984e8a0f46b48f616bae1ece9368facb3a8e913b62899c56 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_kitList.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Homepage/_kitList.html.twig"));
// line 1
$context["block_kit_index"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("solar_kit_index", twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 1), "code", [], "any", false, false, false, 1));
// line 2
echo "
<section class=\"bloc-kit\">
<div class=\"max-kit-content\">
<h2 class=\"title-medium text-center text-uppercase big-onmobile\">";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.common.solar_kit"), "html", null, true);
echo "</h2>
<div class=\"text-center text-grey max-container-txt m-auto py-3 fontsize-normal\">
";
// line 7
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); })()))) {
// line 8
echo " ";
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", false, false, false, 8);
echo "
";
}
// line 10
echo " </div>
<div class=\"d-flex justify-content-center flex-wrap margin-row-kit pt-3 pb-md-4 pb-3\">
";
// line 12
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"]));
echo "
</div>
</div>
</section>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Homepage/_kitList.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 12, 63 => 10, 57 => 8, 55 => 7, 50 => 5, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set block_kit_index = app_get_blocks('solar_kit_index', sylius.channel.code ) %}
<section class=\"bloc-kit\">
<div class=\"max-kit-content\">
<h2 class=\"title-medium text-center text-uppercase big-onmobile\">{{'app.common.solar_kit'|trans}}</h2>
<div class=\"text-center text-grey max-container-txt m-auto py-3 fontsize-normal\">
{% if block_kit_index is defined and block_kit_index %}
{{ block_kit_index.content|raw }}
{% endif %}
</div>
<div class=\"d-flex justify-content-center flex-wrap margin-row-kit pt-3 pb-md-4 pb-3\">
{{ render(url('app_shop_partial_product_index_solarkit', {'count': 5, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
</div>
</div>
</section>
", "@SyliusShop/Homepage/_kitList.html.twig", "/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Homepage/_kitList.html.twig");
}
}