<?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;
/* SyliusShopBundle:Layout/Header:_content.html.twig */
class __TwigTemplate_a9c1e16022adb328337dbdd8ec891e7df7ea0bdf74f1a1d6bc0bd4bab228c0e1 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", "SyliusShopBundle: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", "SyliusShopBundle:Layout/Header:_content.html.twig"));
// line 1
$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.', 1, $this->source); })()), "channel", [], "any", false, false, false, 1), "code", [], "any", false, false, false, 1));
// line 2
echo "<div class=\"col-sm-4 pi-no-padding right-bloc-head\">
<div class=\"other-link-top\">
<ul class=\"clear-float\">
";
// line 5
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.content");
echo "
<li class=\"hidden-640\"><a href=\"";
// line 8
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_contact_request");
echo "\" class=\"contact-link link-other\" title=\"\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.nous_ecrire"), "html", null, true);
echo "</span></a></li>
<li class=\"hidden-640\"><a href=\"tel:";
// line 9
echo twig_get_attribute($this->env, $this->source, (isset($context["block"]) || array_key_exists("block", $context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.', 9, $this->source); })()), "link", [], "any", false, false, false, 9);
echo "\" class=\"mobile-link link-other\" title=\"\">
<span>
";
// line 11
if (twig_get_attribute($this->env, $this->source, ($context["block"] ?? null), "content", [], "any", true, true, false, 11)) {
// line 12
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["block"]) || array_key_exists("block", $context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.', 12, $this->source); })()), "content", [], "any", false, false, false, 12);
echo "
";
}
// line 14
echo " </span>
</a>
</li>
";
// line 19
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.before_security_widget"]);
echo "
";
// line 21
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
echo "
";
// line 23
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_security_widget"]);
echo "
<li class=\"li-panier\" id=\"contenuPanierCommun\">
";
// line 26
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 "
";
// line 27
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 "
</li>
</ul>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "SyliusShopBundle:Layout/Header:_content.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 102 => 27, 98 => 26, 92 => 23, 87 => 21, 82 => 19, 75 => 14, 69 => 12, 67 => 11, 62 => 9, 56 => 8, 50 => 5, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set block = app_get_blocks('num_telephone', sylius.channel.code ) %}
<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=\"hidden-640\"><a href=\"{{ path('sylius_shop_contact_request') }}\" class=\"contact-link link-other\" title=\"\"><span>{{'app.header.nous_ecrire' |trans}}</span></a></li>
<li class=\"hidden-640\"><a href=\"tel:{{ block.link|raw }}\" class=\"mobile-link link-other\" title=\"\">
<span>
{% if block.content is defined %}
{{ block.content|raw }}
{% endif %}
</span>
</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\" id=\"contenuPanierCommun\">
{{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }}
{{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/Widget/_popup.html.twig'})) }}
</li>
</ul>
</div>
</div>
", "SyliusShopBundle:Layout/Header:_content.html.twig", "/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/Layout/Header/_content.html.twig");
}
}