var/cache/dev/twig/54/54db0df4bb7b1a5bd68e84fbf5656de0.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* base.html.twig */
  16. class __TwigTemplate_7c7882c85ecbf9693a9f096a6d6b96ba extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source = $this->getSourceContext();
  27.         $this->parent = false;
  28.         $this->blocks = [
  29.             'meta' => [$this, 'block_meta'],
  30.             'title' => [$this, 'block_title'],
  31.             'stylesheets' => [$this, 'block_stylesheets'],
  32.             'head_javascript' => [$this, 'block_head_javascript'],
  33.             'menu' => [$this, 'block_menu'],
  34.             'BaseBody' => [$this, 'block_BaseBody'],
  35.             'javascripts' => [$this, 'block_javascripts'],
  36.             'Modal' => [$this, 'block_Modal'],
  37.             'ModalJS' => [$this, 'block_ModalJS'],
  38.             'bottomBlock' => [$this, 'block_bottomBlock'],
  39.         ];
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros = $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  48.         // line 1
  49.         yield "<!DOCTYPE html>
  50. <html lang=\"pl\">
  51.     <head>
  52.         <meta charset=\"UTF-8\" />
  53.         ";
  54.         // line 5
  55.         yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
  56.         // line 6
  57.         yield "        <title>";
  58.         yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  59.         yield "</title>
  60.         ";
  61.         // line 7
  62.         yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  63.         // line 10
  64.         yield "        ";
  65.         yield from $this->unwrap()->yieldBlock('head_javascript', $context, $blocks);
  66.         // line 15
  67.         yield "        <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  68.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
  69.         yield "\" />
  70.     </head>
  71.     
  72.     ";
  73.         // line 18
  74.         if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "get", ["_route"], "method", false, false, false, 18) == "adas_logowanie_login_index")) {
  75.             // line 19
  76.             yield "        ";
  77.             $context["PageClassName"] = "start-site";
  78.             // line 20
  79.             yield "    ";
  80.         } elseif ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "get", ["_route"], "method", false, false, false, 20) == "wyborjednostki")) {
  81.             yield "   
  82.         ";
  83.             // line 21
  84.             $context["PageClassName"] = "indexpage";
  85.             // line 22
  86.             yield "    ";
  87.         } else {
  88.             // line 23
  89.             yield "        ";
  90.             $context["PageClassName"] = "";
  91.             // line 24
  92.             yield "    ";
  93.         }
  94.         // line 25
  95.         yield "    
  96.     
  97.     <body data-szafirsdk-ready=\"yes\" class=\"";
  98.         // line 28
  99.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["PageClassName"]) || array_key_exists("PageClassName", $context) ? $context["PageClassName"] : (function () { throw new RuntimeError('Variable "PageClassName" does not exist.', 28, $this->source); })()), "html", null, true);
  100.         yield "\">
  101.         ";
  102.         // line 29
  103.         yield from $this->unwrap()->yieldBlock('menu', $context, $blocks);
  104.         // line 30
  105.         yield "        ";
  106.         yield from $this->unwrap()->yieldBlock('BaseBody', $context, $blocks);
  107.         // line 31
  108.         yield "        ";
  109.         yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  110.         // line 33
  111.         yield "        
  112.         ";
  113.         // line 34
  114.         $context['_parent'] = $context;
  115.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "session", [], "any", false, false, false, 34), "flashbag", [], "any", false, false, false, 34), "get", ["info"], "method", false, false, false, 34));
  116.         foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  117.             // line 35
  118.             yield "            
  119.             <div class=\"alert alert-info\">
  120.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  121.                 <strong>Info!</strong> ";
  122.             // line 38
  123.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true);
  124.             yield "
  125.             </div>
  126.         ";
  127.         }
  128.         $_parent = $context['_parent'];
  129.         unset($context['_seq'], $context['_key'], $context['flash_message'], $context['_parent']);
  130.         $context = array_intersect_key($context, $_parent) + $_parent;
  131.         // line 41
  132.         yield "        ";
  133.         $context['_parent'] = $context;
  134.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "session", [], "any", false, false, false, 41), "flashbag", [], "any", false, false, false, 41), "get", ["success"], "method", false, false, false, 41));
  135.         foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  136.             // line 42
  137.             yield "            <div class=\"alert alert-success\">
  138.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  139.                 <strong>Sukces!</strong> ";
  140.             // line 44
  141.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true);
  142.             yield "
  143.             </div>
  144.         ";
  145.         }
  146.         $_parent = $context['_parent'];
  147.         unset($context['_seq'], $context['_key'], $context['flash_message'], $context['_parent']);
  148.         $context = array_intersect_key($context, $_parent) + $_parent;
  149.         // line 47
  150.         yield "        ";
  151.         $context['_parent'] = $context;
  152.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "session", [], "any", false, false, false, 47), "flashbag", [], "any", false, false, false, 47), "get", ["warning"], "method", false, false, false, 47));
  153.         foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  154.             // line 48
  155.             yield "            <div class=\"alert alert-warning\">
  156.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  157.                 <strong>Uwaga!</strong> ";
  158.             // line 50
  159.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true);
  160.             yield "
  161.             </div>            
  162.         ";
  163.         }
  164.         $_parent = $context['_parent'];
  165.         unset($context['_seq'], $context['_key'], $context['flash_message'], $context['_parent']);
  166.         $context = array_intersect_key($context, $_parent) + $_parent;
  167.         // line 52
  168.         yield "        
  169.         ";
  170.         // line 53
  171.         $context['_parent'] = $context;
  172.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "session", [], "any", false, false, false, 53), "flashbag", [], "any", false, false, false, 53), "get", ["error"], "method", false, false, false, 53));
  173.         foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  174.             // line 54
  175.             yield "            <div class=\"alert alert-danger\">
  176.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  177.                 <strong>Błąd!</strong> ";
  178.             // line 56
  179.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_message"], "html", null, true);
  180.             yield "
  181.             </div>
  182.         ";
  183.         }
  184.         $_parent = $context['_parent'];
  185.         unset($context['_seq'], $context['_key'], $context['flash_message'], $context['_parent']);
  186.         $context = array_intersect_key($context, $_parent) + $_parent;
  187.         // line 59
  188.         yield "        ";
  189.         yield from $this->unwrap()->yieldBlock('Modal', $context, $blocks);
  190.         // line 73
  191.         yield "        ";
  192.         yield from $this->unwrap()->yieldBlock('ModalJS', $context, $blocks);
  193.         // line 85
  194.         yield "        ";
  195.         yield from $this->unwrap()->yieldBlock('bottomBlock', $context, $blocks);
  196.         // line 86
  197.         yield "    </body>
  198. </html>
  199. ";
  200.         
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  202.         
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  204.         yield from [];
  205.     }
  206.     // line 5
  207.     /**
  208.      * @return iterable<null|scalar|\Stringable>
  209.      */
  210.     public function block_meta(array $context, array $blocks = []): iterable
  211.     {
  212.         $macros = $this->macros;
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  217.         
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  219.         
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  221.         yield from [];
  222.     }
  223.     // line 6
  224.     /**
  225.      * @return iterable<null|scalar|\Stringable>
  226.      */
  227.     public function block_title(array $context, array $blocks = []): iterable
  228.     {
  229.         $macros = $this->macros;
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  233.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  234.         yield "eBudzet ";
  235.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["version_provider"]) || array_key_exists("version_provider", $context) ? $context["version_provider"] : (function () { throw new RuntimeError('Variable "version_provider" does not exist.', 6, $this->source); })()), "getWersja", [], "method", false, false, false, 6), "html", null, true);
  236.         
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  238.         
  239.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  240.         yield from [];
  241.     }
  242.     // line 7
  243.     /**
  244.      * @return iterable<null|scalar|\Stringable>
  245.      */
  246.     public function block_stylesheets(array $context, array $blocks = []): iterable
  247.     {
  248.         $macros = $this->macros;
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  253.         // line 8
  254.         yield "            ";
  255.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("@Encore/Templates/base");
  256.         yield "
  257.         ";
  258.         
  259.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  260.         
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  262.         yield from [];
  263.     }
  264.     // line 10
  265.     /**
  266.      * @return iterable<null|scalar|\Stringable>
  267.      */
  268.     public function block_head_javascript(array $context, array $blocks = []): iterable
  269.     {
  270.         $macros = $this->macros;
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));
  273.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));
  275.         // line 11
  276.         yield "            ";
  277.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("@Encore/Templates/base");
  278.         yield "
  279.             <script src=\"";
  280.         // line 12
  281.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.js"), "html", null, true);
  282.         yield "\"></script>
  283.             <script src=\"";
  284.         // line 13
  285.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  286.         yield "\"></script>
  287.         ";
  288.         
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  290.         
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  292.         yield from [];
  293.     }
  294.     // line 29
  295.     /**
  296.      * @return iterable<null|scalar|\Stringable>
  297.      */
  298.     public function block_menu(array $context, array $blocks = []): iterable
  299.     {
  300.         $macros = $this->macros;
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  302.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  305.         
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  307.         
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  309.         yield from [];
  310.     }
  311.     // line 30
  312.     /**
  313.      * @return iterable<null|scalar|\Stringable>
  314.      */
  315.     public function block_BaseBody(array $context, array $blocks = []): iterable
  316.     {
  317.         $macros = $this->macros;
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  319.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
  320.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  321.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "BaseBody"));
  322.         
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.         yield from [];
  327.     }
  328.     // line 31
  329.     /**
  330.      * @return iterable<null|scalar|\Stringable>
  331.      */
  332.     public function block_javascripts(array $context, array $blocks = []): iterable
  333.     {
  334.         $macros = $this->macros;
  335.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  337.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  339.         // line 32
  340.         yield "        ";
  341.         
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  343.         
  344.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  345.         yield from [];
  346.     }
  347.     // line 59
  348.     /**
  349.      * @return iterable<null|scalar|\Stringable>
  350.      */
  351.     public function block_Modal(array $context, array $blocks = []): iterable
  352.     {
  353.         $macros = $this->macros;
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "Modal"));
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "Modal"));
  358.         yield " 
  359.             <div class=\"modal fade \" tabindex=\"-1\" role=\"dialog\" id=\"ModalLoad\" aria-hidden=\"true\">
  360.                 <div class=\"modal-dialog modal-sm\" role=\"document\">
  361.                     <div class=\"modal-content\" >
  362.                         <div class=\"modal-header\" id=\"ModalHeader\"></div>
  363.                         <div class=\"modal-body\" id=\"ModalBody\">
  364.                          Ładowanie danych <img src=\"";
  365.         // line 65
  366.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/adasebudzet/images/loader.gif"), "html", null, true);
  367.         yield "\">
  368.                         </div>
  369.                         <div class=\"modal-footer\" id=\"ModalFooter\">
  370.                         </div>
  371.                     </div>
  372.                 </div>
  373.             </div>
  374.         ";
  375.         
  376.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  377.         
  378.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  379.         yield from [];
  380.     }
  381.     // line 73
  382.     /**
  383.      * @return iterable<null|scalar|\Stringable>
  384.      */
  385.     public function block_ModalJS(array $context, array $blocks = []): iterable
  386.     {
  387.         $macros = $this->macros;
  388.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  389.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ModalJS"));
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ModalJS"));
  392.         // line 84
  393.         yield "        ";
  394.         
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  396.         
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  398.         yield from [];
  399.     }
  400.     // line 85
  401.     /**
  402.      * @return iterable<null|scalar|\Stringable>
  403.      */
  404.     public function block_bottomBlock(array $context, array $blocks = []): iterable
  405.     {
  406.         $macros = $this->macros;
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottomBlock"));
  409.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottomBlock"));
  411.         
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  413.         
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  415.         yield from [];
  416.     }
  417.     /**
  418.      * @codeCoverageIgnore
  419.      */
  420.     public function getTemplateName(): string
  421.     {
  422.         return "base.html.twig";
  423.     }
  424.     /**
  425.      * @codeCoverageIgnore
  426.      */
  427.     public function isTraitable(): bool
  428.     {
  429.         return false;
  430.     }
  431.     /**
  432.      * @codeCoverageIgnore
  433.      */
  434.     public function getDebugInfo(): array
  435.     {
  436.         return array (  459 => 85,  448 => 84,  435 => 73,  416 => 65,  396 => 59,  385 => 32,  372 => 31,  350 => 30,  328 => 29,  315 => 13,  311 => 12,  306 => 11,  293 => 10,  279 => 8,  266 => 7,  242 => 6,  220 => 5,  207 => 86,  204 => 85,  201 => 73,  198 => 59,  189 => 56,  185 => 54,  181 => 53,  178 => 52,  169 => 50,  165 => 48,  160 => 47,  151 => 44,  147 => 42,  142 => 41,  133 => 38,  128 => 35,  124 => 34,  121 => 33,  118 => 31,  115 => 30,  113 => 29,  109 => 28,  104 => 25,  101 => 24,  98 => 23,  95 => 22,  93 => 21,  88 => 20,  85 => 19,  83 => 18,  76 => 15,  73 => 10,  71 => 7,  66 => 6,  64 => 5,  58 => 1,);
  437.     }
  438.     public function getSourceContext(): Source
  439.     {
  440.         return new Source("<!DOCTYPE html>
  441. <html lang=\"pl\">
  442.     <head>
  443.         <meta charset=\"UTF-8\" />
  444.         {% block meta %}{% endblock %}
  445.         <title>{% block title %}eBudzet {{ version_provider.getWersja() }}{% endblock %}</title>
  446.         {% block stylesheets %}
  447.             {{ encore_entry_link_tags('@Encore/Templates/base') }}
  448.         {% endblock %}
  449.         {% block head_javascript %}
  450.             {{ encore_entry_script_tags('@Encore/Templates/base') }}
  451.             <script src=\"{{ asset('bundles/fosjsrouting/js/router.js') }}\"></script>
  452.             <script src=\"{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}\"></script>
  453.         {% endblock %}
  454.         <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico') }}\" />
  455.     </head>
  456.     
  457.     {% if app.request.get('_route') == 'adas_logowanie_login_index' %}
  458.         {% set PageClassName = 'start-site' %}
  459.     {% elseif app.request.get('_route') == 'wyborjednostki'%}   
  460.         {% set PageClassName = 'indexpage'%}
  461.     {% else %}
  462.         {% set PageClassName = '' %}
  463.     {% endif %}
  464.     
  465.     
  466.     <body data-szafirsdk-ready=\"yes\" class=\"{{ PageClassName }}\">
  467.         {% block menu %}{% endblock %}
  468.         {% block BaseBody %}{% endblock %}
  469.         {% block javascripts %}
  470.         {% endblock %}
  471.         
  472.         {% for flash_message in app.session.flashbag.get('info') %}
  473.             
  474.             <div class=\"alert alert-info\">
  475.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  476.                 <strong>Info!</strong> {{ flash_message }}
  477.             </div>
  478.         {% endfor %}
  479.         {% for flash_message in app.session.flashbag.get('success') %}
  480.             <div class=\"alert alert-success\">
  481.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  482.                 <strong>Sukces!</strong> {{ flash_message }}
  483.             </div>
  484.         {% endfor %}
  485.         {% for flash_message in app.session.flashbag.get('warning') %}
  486.             <div class=\"alert alert-warning\">
  487.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  488.                 <strong>Uwaga!</strong> {{ flash_message }}
  489.             </div>            
  490.         {% endfor %}        
  491.         {% for flash_message in app.session.flashbag.get('error') %}
  492.             <div class=\"alert alert-danger\">
  493.                 <a href=\"#\" class=\"close\" data-dismiss=\"alert\" aria-label=\"close\">&times;</a>
  494.                 <strong>Błąd!</strong> {{ flash_message }}
  495.             </div>
  496.         {% endfor %}
  497.         {% block Modal %} 
  498.             <div class=\"modal fade \" tabindex=\"-1\" role=\"dialog\" id=\"ModalLoad\" aria-hidden=\"true\">
  499.                 <div class=\"modal-dialog modal-sm\" role=\"document\">
  500.                     <div class=\"modal-content\" >
  501.                         <div class=\"modal-header\" id=\"ModalHeader\"></div>
  502.                         <div class=\"modal-body\" id=\"ModalBody\">
  503.                          Ładowanie danych <img src=\"{{ asset('bundles/adasebudzet/images/loader.gif') }}\">
  504.                         </div>
  505.                         <div class=\"modal-footer\" id=\"ModalFooter\">
  506.                         </div>
  507.                     </div>
  508.                 </div>
  509.             </div>
  510.         {% endblock %}
  511.         {% block ModalJS %}
  512. {#            <script type=\"text/javascript\">
  513.                 \$(document).ajaxStart(function()
  514.                     {
  515.                       \$('#ModalLoad').modal({keyboard:false,show:true});  
  516.                     });
  517.                 \$(document).ajaxStop(function()
  518.                     {
  519.                       \$('#ModalLoad').modal('hide');  
  520.                     });   
  521.             </script>#}
  522.         {% endblock %}
  523.         {% block bottomBlock %}{% endblock %}
  524.     </body>
  525. </html>
  526. ", "base.html.twig", "/home/ekl0budzet/domains/ebudzet.kluczbork.pl/templates/base.html.twig");
  527.     }
  528. }