<?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/Account/layout.html.twig */
class __TwigTemplate_6ff174f853af18409e87c34fd44ae6e7f2a19a310ca52e9cb907d623bc952464 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'subcontent' => [$this, 'block_subcontent'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate(((twig_get_attribute($this->env, $this->source, (isset($context["is_mobile"]) || array_key_exists("is_mobile", $context) ? $context["is_mobile"] : (function () { throw new RuntimeError('Variable "is_mobile" does not exist.', 1, $this->source); })()), "check", [], "any", false, false, false, 1)) ? ("@templates/Mobile/Shop/layout.html.twig") : ("@templates/Front/Shop/layout.html.twig")), "@SyliusShop/Account/layout.html.twig", 1);
}
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/Account/layout.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/Account/layout.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($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(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " ";
$this->displayBlock('breadcrumb', $context, $blocks);
// line 6
echo " <button id=\"toggleButton\" class=\"d-lg-none d-md-block\">
<i class=\"fa fa-bars menu-icon\"></i>
<i class=\"fa fa-times close-icon d-none\"></i>
</button>
<div class=\"row\">
<div class=\"col-12 col-md-4 col-lg-3 mb-4 menu d-none d-md-block\">
";
// line 13
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.before_menu"]);
echo "
";
// line 15
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("sylius.shop.account", ["template" => "@SyliusShop/Menu/simple.html.twig"]);
echo "
";
// line 17
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.after_menu"]);
echo "
</div>
<div class=\"col-12 col-md-8 col-lg-9\">
";
// line 20
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.before_subcontent"]);
echo "
";
// line 22
$this->displayBlock('subcontent', $context, $blocks);
// line 24
echo "
";
// line 25
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.after_subcontent"]);
echo "
</div>
</div>
<style>
#toggleButton {
float: right;
display: block;
margin-top: -20px;
border: 1px solid;
margin-right: 10px;
}
</style>
<script>
\$('#toggleButton').on('click', function() {
\$('.menu').toggleClass('d-none');
\$('.menu-icon').toggleClass('d-none');
\$('.close-icon').toggleClass('d-none');
})
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_breadcrumb($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(), "block", "breadcrumb"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 5
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 22
public function block_subcontent($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(), "block", "subcontent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "subcontent"));
// line 23
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Account/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 169 => 23, 159 => 22, 149 => 5, 139 => 4, 107 => 25, 104 => 24, 102 => 22, 97 => 20, 91 => 17, 86 => 15, 81 => 13, 72 => 6, 69 => 4, 59 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends is_mobile.check ? '@templates/Mobile/Shop/layout.html.twig' : '@templates/Front/Shop/layout.html.twig' %}
{% block content %}
{% block breadcrumb %}
{% endblock %}
<button id=\"toggleButton\" class=\"d-lg-none d-md-block\">
<i class=\"fa fa-bars menu-icon\"></i>
<i class=\"fa fa-times close-icon d-none\"></i>
</button>
<div class=\"row\">
<div class=\"col-12 col-md-4 col-lg-3 mb-4 menu d-none d-md-block\">
{{ sonata_block_render_event('sylius.shop.account.layout.before_menu') }}
{{ knp_menu_render('sylius.shop.account', {'template': '@SyliusShop/Menu/simple.html.twig'}) }}
{{ sonata_block_render_event('sylius.shop.account.layout.after_menu') }}
</div>
<div class=\"col-12 col-md-8 col-lg-9\">
{{ sonata_block_render_event('sylius.shop.account.layout.before_subcontent') }}
{% block subcontent %}
{% endblock %}
{{ sonata_block_render_event('sylius.shop.account.layout.after_subcontent') }}
</div>
</div>
<style>
#toggleButton {
float: right;
display: block;
margin-top: -20px;
border: 1px solid;
margin-right: 10px;
}
</style>
<script>
\$('#toggleButton').on('click', function() {
\$('.menu').toggleClass('d-none');
\$('.menu-icon').toggleClass('d-none');
\$('.close-icon').toggleClass('d-none');
})
</script>
{% endblock %}
", "@SyliusShop/Account/layout.html.twig", "/vhosts/newrca.roviniete.ro/themes/BootstrapExtendTheme/SyliusShopBundle/views/Account/layout.html.twig");
}
}