var/cache/dev/twig/fc/fc97907483333f19caf970af9a892947dbb1483be6742b845df56e59c4936e96.php line 40

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:Account:layout.html.twig */
  14. class __TwigTemplate_d9508759fdc44e1dc8a0a44547654709a23fd5b7e7ea73b961a6b84fab43b06b 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'breadcrumb' => [$this'block_breadcrumb'],
  25.             'subcontent' => [$this'block_subcontent'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         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"falsefalsefalse1)) ? ("@templates/Mobile/Shop/layout.html.twig") : ("@templates/Front/Shop/layout.html.twig")), "SyliusShopBundle:Account:layout.html.twig"1);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SyliusShopBundle:Account:layout.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SyliusShopBundle:Account:layout.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         echo "    ";
  56.         $this->displayBlock('breadcrumb'$context$blocks);
  57.         // line 6
  58.         echo "    <button id=\"toggleButton\" class=\"d-lg-none d-md-block\">
  59.         <i class=\"fa fa-bars menu-icon\"></i>
  60.         <i class=\"fa fa-times close-icon d-none\"></i>
  61.     </button>
  62.     <div class=\"row\">
  63.         <div class=\"col-12 col-md-4 col-lg-3 mb-4 menu d-none d-md-block\">
  64.             ";
  65.         // line 13
  66.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.before_menu"]);
  67.         echo "
  68.             ";
  69.         // line 15
  70.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("sylius.shop.account", ["template" => "@SyliusShop/Menu/simple.html.twig"]);
  71.         echo "
  72.             ";
  73.         // line 17
  74.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.after_menu"]);
  75.         echo "
  76.         </div>
  77.         <div class=\"col-12 col-md-8 col-lg-9\">
  78.             ";
  79.         // line 20
  80.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.before_subcontent"]);
  81.         echo "
  82.             ";
  83.         // line 22
  84.         $this->displayBlock('subcontent'$context$blocks);
  85.         // line 24
  86.         echo "
  87.             ";
  88.         // line 25
  89.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.account.layout.after_subcontent"]);
  90.         echo "
  91.         </div>
  92.     </div>
  93.     <style>
  94.         #toggleButton {
  95.             float: right;
  96.             display: block;
  97.             margin-top: -20px;
  98.             border: 1px solid;
  99.             margin-right: 10px;
  100.             }
  101.         </style>
  102.     <script>
  103.         \$('#toggleButton').on('click', function() {
  104.             \$('.menu').toggleClass('d-none');
  105.             \$('.menu-icon').toggleClass('d-none');
  106.             \$('.close-icon').toggleClass('d-none');
  107.         })
  108.     </script>
  109. ";
  110.         
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  112.         
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  114.     }
  115.     // line 4
  116.     public function block_breadcrumb($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  123.         // line 5
  124.         echo "    ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 22
  131.     public function block_subcontent($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subcontent"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subcontent"));
  138.         // line 23
  139.         echo "            ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.     }
  145.     public function getTemplateName()
  146.     {
  147.         return "SyliusShopBundle:Account:layout.html.twig";
  148.     }
  149.     public function isTraitable()
  150.     {
  151.         return false;
  152.     }
  153.     public function getDebugInfo()
  154.     {
  155.         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,);
  156.     }
  157.     public function getSourceContext()
  158.     {
  159.         return new Source("{% extends is_mobile.check ? '@templates/Mobile/Shop/layout.html.twig' : '@templates/Front/Shop/layout.html.twig' %}
  160. {% block content %}
  161.     {% block breadcrumb %}
  162.     {% endblock %}
  163.     <button id=\"toggleButton\" class=\"d-lg-none d-md-block\">
  164.         <i class=\"fa fa-bars menu-icon\"></i>
  165.         <i class=\"fa fa-times close-icon d-none\"></i>
  166.     </button>
  167.     <div class=\"row\">
  168.         <div class=\"col-12 col-md-4 col-lg-3 mb-4 menu d-none d-md-block\">
  169.             {{ sonata_block_render_event('sylius.shop.account.layout.before_menu') }}
  170.             {{ knp_menu_render('sylius.shop.account', {'template': '@SyliusShop/Menu/simple.html.twig'}) }}
  171.             {{ sonata_block_render_event('sylius.shop.account.layout.after_menu') }}
  172.         </div>
  173.         <div class=\"col-12 col-md-8 col-lg-9\">
  174.             {{ sonata_block_render_event('sylius.shop.account.layout.before_subcontent') }}
  175.             {% block subcontent %}
  176.             {% endblock %}
  177.             {{ sonata_block_render_event('sylius.shop.account.layout.after_subcontent') }}
  178.         </div>
  179.     </div>
  180.     <style>
  181.         #toggleButton {
  182.             float: right;
  183.             display: block;
  184.             margin-top: -20px;
  185.             border: 1px solid;
  186.             margin-right: 10px;
  187.             }
  188.         </style>
  189.     <script>
  190.         \$('#toggleButton').on('click', function() {
  191.             \$('.menu').toggleClass('d-none');
  192.             \$('.menu-icon').toggleClass('d-none');
  193.             \$('.close-icon').toggleClass('d-none');
  194.         })
  195.     </script>
  196. {% endblock %}
  197. ""SyliusShopBundle:Account:layout.html.twig""/vhosts/nou.roviniete.ro/themes/BootstrapExtendTheme/SyliusShopBundle/views/Account/layout.html.twig");
  198.     }
  199. }