<?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/Layout/Header/_content.html.twig */
class __TwigTemplate_bde75eec28045aa1bb8b10b7917df0d36cfa50177804e819470236b1eac32998 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/Layout/Header/_content.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/Layout/Header/_content.html.twig"));
// line 1
echo "
";
// line 2
$context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("num_telephone", 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.', 2, $this->source); })()), "channel", [], "any", false, false, false, 2), "code", [], "any", false, false, false, 2));
// line 3
$context["page_route"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "attributes", [], "any", false, false, false, 3), "get", [0 => "_route"], "method", false, false, false, 3);
// line 4
echo "
<div class=\"col-sm-4 pi-no-padding right-bloc-head\">
<div class=\"other-link-top\">
<ul class=\"clear-float\">
";
// line 9
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.content");
echo "
<li class=\"d-none d-sm-block\"><a href=\"#\" class=\"rech-link link-other\" title=\"\"></a></li>
";
// line 12
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_security_widget");
echo "
";
// line 14
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
echo "
";
// line 16
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_security_widget");
echo "
<li class=\"li-panier ";
// line 18
if (((isset($context["page_route"]) || array_key_exists("page_route", $context) ? $context["page_route"] : (function () { throw new RuntimeError('Variable "page_route" does not exist.', 18, $this->source); })()) != "sylius_shop_cart_summary")) {
echo " click-link ";
}
echo "\" id=\"contenuPanierCommun\">
<div id=\"contenuPanierCommunWidget\">
";
// line 20
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_cart_summary", ["template" => "@SyliusShop/Cart/_widget.html.twig"]));
echo "
</div>
<div id=\"contenuPanierCommunPopup\">
";
// line 23
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_cart_summary", ["template" => "@SyliusShop/Cart/Widget/_popup.html.twig"]));
echo "
</div>
</li>
";
// line 29
echo "
</ul>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Layout/Header/_content.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 29, 91 => 23, 85 => 20, 78 => 18, 73 => 16, 68 => 14, 63 => 12, 57 => 9, 50 => 4, 48 => 3, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("
{% set block = app_get_blocks('num_telephone', sylius.channel.code ) %}
{% set page_route = app.request.attributes.get('_route') %}
<div class=\"col-sm-4 pi-no-padding right-bloc-head\">
<div class=\"other-link-top\">
<ul class=\"clear-float\">
{{ sylius_template_event('sylius.shop.layout.header.content') }}
<li class=\"d-none d-sm-block\"><a href=\"#\" class=\"rech-link link-other\" title=\"\"></a></li>
{{ sonata_block_render_event('sylius.shop.layout.before_security_widget') }}
{{ render(controller('sylius.controller.shop.security_widget:renderAction')) }}
{{ sonata_block_render_event('sylius.shop.layout.after_security_widget') }}
<li class=\"li-panier {% if page_route != \"sylius_shop_cart_summary\" %} click-link {% endif %}\" id=\"contenuPanierCommun\">
<div id=\"contenuPanierCommunWidget\">
{{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }}
</div>
<div id=\"contenuPanierCommunPopup\">
{{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/Widget/_popup.html.twig'})) }}
</div>
</li>
{#<li><a href=\"{{ path('app_shop_brand_index') }}\">{{ 'app.ui.brands'|trans }}</a> </li>
{% include '@BitBagSyliusWishlistPlugin/Header/_wishlistHeader.html.twig' %}#}
</ul>
</div>
</div>
", "@SyliusShop/Layout/Header/_content.html.twig", "/home/6nergiesboutique/www_preprod/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Layout/Header/_content.html.twig");
}
}