<?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/_header.html.twig */
class __TwigTemplate_32d6efa83821af07a133905507c7ee42ebc4139e96dce5467a6980a730f1e643 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/_header.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/_header.html.twig"));
// line 1
$macros["money"] = $this->macros["money"] = $this->loadTemplate("@SyliusShop/Common/Macro/money.html.twig", "@SyliusShop/_header.html.twig", 1)->unwrap();
// line 2
echo " ";
$context["block_txt"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("texteperso_header", 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));
echo "
<div id=\"header\" class=\"\">
<div class=\"max-container-2 px-0 py-xl-1 noscrolling-header\">
<div class=\"row align-items-center justify-content-center position-relative no-gutters\">
<div class=\"admin-fixed-header phrase-admin col-12\">
";
// line 9
if (twig_get_attribute($this->env, $this->source, ($context["block_txt"] ?? null), "content", [], "any", true, true, false, 9)) {
// line 10
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["block_txt"]) || array_key_exists("block_txt", $context) ? $context["block_txt"] : (function () { throw new RuntimeError('Variable "block_txt" does not exist.', 10, $this->source); })()), "content", [], "any", false, false, false, 10);
echo "
";
}
// line 12
echo " </div>
<div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m.svg"), "html", null, true);
echo "\" alt=\"\" class=\"\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.menu"), "html", null, true);
echo "</span></a></div>
";
// line 14
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.grid");
echo "
</div>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@SyliusShop/_header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 73 => 14, 67 => 13, 64 => 12, 58 => 10, 56 => 9, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% import \"@SyliusShop/Common/Macro/money.html.twig\" as money %}
{% set block_txt = app_get_blocks('texteperso_header', sylius.channel.code ) %}
<div id=\"header\" class=\"\">
<div class=\"max-container-2 px-0 py-xl-1 noscrolling-header\">
<div class=\"row align-items-center justify-content-center position-relative no-gutters\">
<div class=\"admin-fixed-header phrase-admin col-12\">
{% if block_txt.content is defined %}
{{ block_txt.content|raw }}
{% endif %}
</div>
<div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"{{ asset('images/ico_menu_m.svg') }}\" alt=\"\" class=\"\"><span>{{'app.header.menu' |trans}}</span></a></div>
{{ sylius_template_event('sylius.shop.layout.header.grid') }}
</div>
</div>
</div>
", "@SyliusShop/_header.html.twig", "/home/chouettemauve/preprod/sylius/themes/BootstrapTheme/templates/bundles/SyliusShopBundle/_header.html.twig");
}
}