var/cache/dev/twig/29/29548e90cb1a7f596dace3f99f9f8d01f3c738acbbedbe2982fd9f30281690b2.php line 98

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. /* SyliusShopBundle:Layout/Header:_content.html.twig */
  14. class __TwigTemplate_a9c1e16022adb328337dbdd8ec891e7df7ea0bdf74f1a1d6bc0bd4bab228c0e1 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""SyliusShopBundle:Layout/Header:_content.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""SyliusShopBundle:Layout/Header:_content.html.twig"));
  33.         // line 1
  34.         $context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("num_telephone"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 "<div class=\"col-sm-4  pi-no-padding  right-bloc-head\">
  37.     <div class=\"other-link-top\">
  38.         <ul class=\"clear-float\">
  39.             ";
  40.         // line 5
  41.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.content");
  42.         echo "
  43.             <li  class=\"hidden-640\"><a href=\"";
  44.         // line 8
  45.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_contact_request");
  46.         echo "\" class=\"contact-link link-other\" title=\"\"><span>";
  47.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.nous_ecrire"), "html"nulltrue);
  48.         echo "</span></a></li>
  49.             <li  class=\"hidden-640\"><a href=\"tel:";
  50.         // line 9
  51.         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"falsefalsefalse9);
  52.         echo "\" class=\"mobile-link link-other\" title=\"\">
  53.                     <span>
  54.                         ";
  55.         // line 11
  56.         if (twig_get_attribute($this->env$this->source, ($context["block"] ?? null), "content", [], "any"truetruefalse11)) {
  57.             // line 12
  58.             echo "                            ";
  59.             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"falsefalsefalse12);
  60.             echo "
  61.                         ";
  62.         }
  63.         // line 14
  64.         echo "                    </span>
  65.                 </a>
  66.             </li>
  67.             ";
  68.         // line 19
  69.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.before_security_widget"]);
  70.         echo "
  71.             ";
  72.         // line 21
  73.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
  74.         echo "
  75.             ";
  76.         // line 23
  77.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_security_widget"]);
  78.         echo "
  79.             <li class=\"li-panier\" id=\"contenuPanierCommun\">
  80.                 ";
  81.         // line 26
  82.         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"]));
  83.         echo "
  84.                  ";
  85.         // line 27
  86.         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"]));
  87.         echo "
  88.             </li>
  89.         </ul>
  90.     </div>
  91. </div>
  92. ";
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.         
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  97.     }
  98.     public function getTemplateName()
  99.     {
  100.         return "SyliusShopBundle:Layout/Header:_content.html.twig";
  101.     }
  102.     public function isTraitable()
  103.     {
  104.         return false;
  105.     }
  106.     public function getDebugInfo()
  107.     {
  108.         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,);
  109.     }
  110.     public function getSourceContext()
  111.     {
  112.         return new Source("{% set block = app_get_blocks('num_telephone', sylius.channel.code )  %}
  113. <div class=\"col-sm-4  pi-no-padding  right-bloc-head\">
  114.     <div class=\"other-link-top\">
  115.         <ul class=\"clear-float\">
  116.             {{ sylius_template_event('sylius.shop.layout.header.content') }}
  117.             <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>
  118.             <li  class=\"hidden-640\"><a href=\"tel:{{ block.link|raw }}\" class=\"mobile-link link-other\" title=\"\">
  119.                     <span>
  120.                         {% if block.content is defined %}
  121.                             {{ block.content|raw }}
  122.                         {% endif %}
  123.                     </span>
  124.                 </a>
  125.             </li>
  126.             {{ sonata_block_render_event('sylius.shop.layout.before_security_widget') }}
  127.             {{ render(controller('sylius.controller.shop.security_widget:renderAction')) }}
  128.             {{ sonata_block_render_event('sylius.shop.layout.after_security_widget') }}
  129.             <li class=\"li-panier\" id=\"contenuPanierCommun\">
  130.                 {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }}
  131.                  {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/Widget/_popup.html.twig'})) }}
  132.             </li>
  133.         </ul>
  134.     </div>
  135. </div>
  136. ""SyliusShopBundle:Layout/Header:_content.html.twig""/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/Layout/Header/_content.html.twig");
  137.     }
  138. }