var/cache/dev/twig/c9/c915c828e1488a4e107775385ef56fb2.php line 406

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. /* base.html.twig */
  14. class __TwigTemplate_7b4b6aa2e819153161845e0636429571 extends 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.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'body_id' => [$this'block_body_id'],
  28.             'header' => [$this'block_header'],
  29.             'header_navigation_links' => [$this'block_header_navigation_links'],
  30.             'body' => [$this'block_body'],
  31.             'main' => [$this'block_main'],
  32.             'sidebar' => [$this'block_sidebar'],
  33.             'footer' => [$this'block_footer'],
  34.         ];
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  43.         // line 6
  44.         echo "<!DOCTYPE html>
  45. <html lang=\"";
  46.         // line 7
  47.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "locale", [], "any"falsefalsefalse7), "html"nulltrue);
  48.         echo "\">
  49.     <head>
  50.         <meta charset=\"UTF-8\" />
  51.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  52.         <title>";
  53.         // line 11
  54.         $this->displayBlock('title'$context$blocks);
  55.         echo "</title>
  56.         <link rel=\"alternate\" type=\"application/rss+xml\" title=\"";
  57.         // line 12
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("rss.title"), "html"nulltrue);
  59.         echo "\" href=\"";
  60.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_rss");
  61.         echo "\">
  62.         ";
  63.         // line 18
  64.         echo "        ";
  65.         $this->displayBlock('stylesheets'$context$blocks);
  66.         // line 21
  67.         echo "        ";
  68.         $this->displayBlock('javascripts'$context$blocks);
  69.         // line 24
  70.         echo "
  71.         <script src=\"https://livejs.com/live.js\"> </script>
  72.         <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  73.         // line 27
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  75.         echo "\" />
  76.     </head>
  77.     <body id=\"";
  78.         // line 30
  79.         $this->displayBlock('body_id'$context$blocks);
  80.         echo "\">
  81.         ";
  82.         // line 32
  83.         $this->displayBlock('header'$context$blocks);
  84.         // line 114
  85.         echo "
  86.         <div class=\"container body-container\">
  87.             ";
  88.         // line 116
  89.         $this->displayBlock('body'$context$blocks);
  90.         // line 135
  91.         echo "        </div>
  92.         ";
  93.         // line 137
  94.         $this->displayBlock('footer'$context$blocks);
  95.         // line 162
  96.         echo "
  97.         ";
  98.         // line 166
  99.         echo "        <!-- Page rendered on ";
  100.         echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env"now""long""long""""UTC"), "html"nulltrue);
  101.         echo " -->
  102.     </body>
  103. </html>
  104. ";
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.     }
  110.     // line 11
  111.     public function block_title($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  118.         echo "Symfony Demo application";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     // line 18
  125.     public function block_stylesheets($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  132.         // line 19
  133.         echo "            ";
  134.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  135.         echo "
  136.         ";
  137.         
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  139.         
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  141.     }
  142.     // line 21
  143.     public function block_javascripts($context, array $blocks = [])
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  150.         // line 22
  151.         echo "            ";
  152.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  153.         echo "
  154.         ";
  155.         
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  157.         
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159.     }
  160.     // line 30
  161.     public function block_body_id($context, array $blocks = [])
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  168.         
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  170.         
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  172.     }
  173.     // line 32
  174.     public function block_header($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  180.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  181.         // line 33
  182.         echo "            <header>
  183.                 <div class=\"navbar navbar-default navbar-static-top\" role=\"navigation\">
  184.                     <div class=\"container\">
  185.                         <div class=\"navbar-header col-md-3 col-lg-2\">
  186.                             <a class=\"navbar-brand\" href=\"";
  187.         // line 37
  188.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  189.         echo "\">
  190.                                 Symfony Demo
  191.                             </a>
  192.                             <button type=\"button\" class=\"navbar-toggle\"
  193.                                     data-toggle=\"collapse\"
  194.                                     data-target=\".navbar-collapse\">
  195.                                 <span class=\"sr-only\">";
  196.         // line 44
  197.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.toggle_nav"), "html"nulltrue);
  198.         echo "</span>
  199.                                 <span class=\"icon-bar\"></span>
  200.                                 <span class=\"icon-bar\"></span>
  201.                                 <span class=\"icon-bar\"></span>
  202.                             </button>
  203.                         </div>
  204.                         <div class=\"navbar-collapse collapse\">
  205.                             <ul class=\"nav navbar-nav navbar-right\">
  206.                                 ";
  207.         // line 53
  208.         $this->displayBlock('header_navigation_links'$context$blocks);
  209.         // line 68
  210.         echo "
  211.                                 <li>
  212.                                     <a href=\"";
  213.         // line 70
  214.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_search");
  215.         echo "\"> <i class=\"fa fa-search\"></i> ";
  216.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.search"), "html"nulltrue);
  217.         echo "</a>
  218.                                 </li>
  219.                                 ";
  220.         // line 73
  221.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'73$this->source); })()), "user", [], "any"falsefalsefalse73)) {
  222.             // line 74
  223.             echo "                                    <li class=\"dropdown\">
  224.                                         <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\" id=\"user\">
  225.                                             <i class=\"fa fa-user\" aria-hidden=\"true\"></i>
  226.                                             <span class=\"caret\"></span>
  227.                                             <span class=\"sr-only\">";
  228.             // line 78
  229.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'78$this->source); })()), "user", [], "any"falsefalsefalse78), "fullname", [], "any"falsefalsefalse78), "html"nulltrue);
  230.             echo "</span>
  231.                                         </a>
  232.                                         <ul class=\"dropdown-menu user\" role=\"menu\" aria-labelledby=\"user\">
  233.                                             <li>
  234.                                                 <a href=\"";
  235.             // line 82
  236.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_edit");
  237.             echo "\">
  238.                                                     <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> ";
  239.             // line 83
  240.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.user"), "html"nulltrue);
  241.             echo "
  242.                                                 </a>
  243.                                             </li>
  244.                                             <li class=\"divider\"></li>
  245.                                             <li>
  246.                                                 <a href=\"";
  247.             // line 88
  248.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\LogoutUrlExtension']->getLogoutPath(), "html"nulltrue);
  249.             echo "\">
  250.                                                     <i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i> ";
  251.             // line 89
  252.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.logout"), "html"nulltrue);
  253.             echo "
  254.                                                 </a>
  255.                                             </li>
  256.                                         </ul>
  257.                                     </li>
  258.                                 ";
  259.         }
  260.         // line 95
  261.         echo "
  262.                                 <li class=\"dropdown\">
  263.                                     <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\" id=\"locales\">
  264.                                         <i class=\"fa fa-globe\" aria-hidden=\"true\"></i>
  265.                                         <span class=\"caret\"></span>
  266.                                         <span class=\"sr-only\">";
  267.         // line 100
  268.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.choose_language"), "html"nulltrue);
  269.         echo "</span>
  270.                                     </a>
  271.                                     <ul class=\"dropdown-menu locales\" role=\"menu\" aria-labelledby=\"locales\">
  272.                                         ";
  273.         // line 103
  274.         $context['_parent'] = $context;
  275.         $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\AppExtension']->getLocales());
  276.         foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  277.             // line 104
  278.             echo "                                            <li ";
  279.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "locale", [], "any"falsefalsefalse104) == twig_get_attribute($this->env$this->source$context["locale"], "code", [], "any"falsefalsefalse104))) {
  280.                 echo "aria-checked=\"true\" class=\"active\"";
  281.             } else {
  282.                 echo "aria-checked=\"false\"";
  283.             }
  284.             echo " role=\"menuitem\"><a href=\"";
  285.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "get", [=> "_route"=> "blog_index"], "method"falsefalsefalse104), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "get", [=> "_route_params"=> []], "method"falsefalsefalse104), ["_locale" => twig_get_attribute($this->env$this->source$context["locale"], "code", [], "any"falsefalsefalse104)])), "html"nulltrue);
  286.             echo "\">";
  287.             echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "name", [], "any"falsefalsefalse104)), "html"nulltrue);
  288.             echo " <small>";
  289.             echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->source$context["locale"], "code", [], "any"falsefalsefalse104), 02), "html"nulltrue);
  290.             echo "</small></a></li>
  291.                                         ";
  292.         }
  293.         $_parent $context['_parent'];
  294.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  295.         $context array_intersect_key($context$_parent) + $_parent;
  296.         // line 106
  297.         echo "                                    </ul>
  298.                                 </li>
  299.                             </ul>
  300.                         </div>
  301.                     </div>
  302.                 </div>
  303.             </header>
  304.         ";
  305.         
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  307.         
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  309.     }
  310.     // line 53
  311.     public function block_header_navigation_links($context, array $blocks = [])
  312.     {
  313.         $macros $this->macros;
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_navigation_links"));
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  317.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_navigation_links"));
  318.         // line 54
  319.         echo "                                    <li>
  320.                                         <a href=\"";
  321.         // line 55
  322.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_index");
  323.         echo "\">
  324.                                             <i class=\"fa fa-home\" aria-hidden=\"true\"></i> ";
  325.         // line 56
  326.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.homepage"), "html"nulltrue);
  327.         echo "
  328.                                         </a>
  329.                                     </li>
  330.                                     ";
  331.         // line 60
  332.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
  333.             // line 61
  334.             echo "                                        <li>
  335.                                             <a href=\"";
  336.             // line 62
  337.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_post_index");
  338.             echo "\">
  339.                                                 <i class=\"fa fa-lock\" aria-hidden=\"true\"></i> ";
  340.             // line 63
  341.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("menu.admin"), "html"nulltrue);
  342.             echo "
  343.                                             </a>
  344.                                         </li>
  345.                                     ";
  346.         }
  347.         // line 67
  348.         echo "                                ";
  349.         
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  351.         
  352.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  353.     }
  354.     // line 116
  355.     public function block_body($context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  362.         // line 117
  363.         echo "                <div class=\"row\">
  364.                     <div id=\"main\" class=\"col-sm-9\">
  365.                         ";
  366.         // line 119
  367.         echo twig_include($this->env$context"default/_flash_messages.html.twig");
  368.         echo "
  369.                         ";
  370.         // line 121
  371.         $this->displayBlock('main'$context$blocks);
  372.         // line 122
  373.         echo "                    </div>
  374.                     <div id=\"sidebar\" class=\"col-sm-3\">
  375.                         ";
  376.         // line 125
  377.         $this->displayBlock('sidebar'$context$blocks);
  378.         // line 132
  379.         echo "                    </div>
  380.                 </div>
  381.             ";
  382.         
  383.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  384.         
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  386.     }
  387.     // line 121
  388.     public function block_main($context, array $blocks = [])
  389.     {
  390.         $macros $this->macros;
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  393.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  395.         
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  397.         
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  399.     }
  400.     // line 125
  401.     public function block_sidebar($context, array $blocks = [])
  402.     {
  403.         $macros $this->macros;
  404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  405.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  407.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  408.         // line 126
  409.         echo "                            ";
  410.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController::templateAction", ["template" => "blog/about.html.twig""sharedAge" => 600"_locale" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 129
  411. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'129$this->source); })()), "request", [], "any"falsefalsefalse129), "locale", [], "any"falsefalsefalse129)]));
  412.         // line 130
  413.         echo "
  414.                         ";
  415.         
  416.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  417.         
  418.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  419.     }
  420.     // line 137
  421.     public function block_footer($context, array $blocks = [])
  422.     {
  423.         $macros $this->macros;
  424.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  425.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  427.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  428.         // line 138
  429.         echo "            <footer>
  430.                 <div class=\"container\">
  431.                     <div class=\"row\">
  432.                         <div id=\"footer-copyright\" class=\"col-md-6\">
  433.                             <p>&copy; ";
  434.         // line 142
  435.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  436.         echo " - The Symfony Project</p>
  437.                             <p>";
  438.         // line 143
  439.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mit_license"), "html"nulltrue);
  440.         echo "</p>
  441.                         </div>
  442.                         <div id=\"footer-resources\" class=\"col-md-6\">
  443.                             <p>
  444.                                 <a href=\"https://twitter.com/symfony\" title=\"Symfony Twitter\">
  445.                                     <i class=\"fa fa-twitter\" aria-hidden=\"true\"></i>
  446.                                 </a>
  447.                                 <a href=\"https://www.facebook.com/SensioLabs\" title=\"SensioLabs Facebook\">
  448.                                     <i class=\"fa fa-facebook\" aria-hidden=\"true\"></i>
  449.                                 </a>
  450.                                 <a href=\"https://symfony.com/blog/\" title=\"Symfony Blog\">
  451.                                     <i class=\"fa fa-rss\" aria-hidden=\"true\"></i>
  452.                                 </a>
  453.                             </p>
  454.                         </div>
  455.                     </div>
  456.                 </div>
  457.             </footer>
  458.         ";
  459.         
  460.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  461.         
  462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  463.     }
  464.     public function getTemplateName()
  465.     {
  466.         return "base.html.twig";
  467.     }
  468.     public function isTraitable()
  469.     {
  470.         return false;
  471.     }
  472.     public function getDebugInfo()
  473.     {
  474.         return array (  509 => 143,  505 => 142,  499 => 138,  489 => 137,  478 => 130,  476 => 129,  474 => 126,  464 => 125,  446 => 121,  434 => 132,  432 => 125,  427 => 122,  425 => 121,  420 => 119,  416 => 117,  406 => 116,  396 => 67,  389 => 63,  385 => 62,  382 => 61,  380 => 60,  373 => 56,  369 => 55,  366 => 54,  356 => 53,  339 => 106,  320 => 104,  316 => 103,  310 => 100,  303 => 95,  294 => 89,  290 => 88,  282 => 83,  278 => 82,  271 => 78,  265 => 74,  263 => 73,  255 => 70,  251 => 68,  249 => 53,  237 => 44,  227 => 37,  221 => 33,  211 => 32,  193 => 30,  180 => 22,  170 => 21,  157 => 19,  147 => 18,  128 => 11,  113 => 166,  110 => 162,  108 => 137,  104 => 135,  102 => 116,  98 => 114,  96 => 32,  91 => 30,  85 => 27,  80 => 24,  77 => 21,  74 => 18,  67 => 12,  63 => 11,  56 => 7,  53 => 6,);
  475.     }
  476.     public function getSourceContext()
  477.     {
  478.         return new Source("{#
  479.    This is the base template used as the application layout which contains the
  480.    common elements and decorates all the other templates.
  481.    See https://symfony.com/doc/current/templates.html#template-inheritance-and-layouts
  482. #}
  483. <!DOCTYPE html>
  484. <html lang=\"{{ app.request.locale }}\">
  485.     <head>
  486.         <meta charset=\"UTF-8\" />
  487.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  488.         <title>{% block title %}Symfony Demo application{% endblock %}</title>
  489.         <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ 'rss.title'|trans }}\" href=\"{{ path('blog_rss') }}\">
  490.         {#
  491.             Those two blocks defines frontend entrypoint for CSS and JavaScript assets
  492.             See https://symfony.com/doc/current/frontend.html
  493.         #}
  494.         {% block stylesheets %}
  495.             {{ encore_entry_link_tags('app') }}
  496.         {% endblock %}
  497.         {% block javascripts %}
  498.             {{ encore_entry_script_tags('app') }}
  499.         {% endblock %}
  500.         <script src=\"https://livejs.com/live.js\"> </script>
  501.         <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico') }}\" />
  502.     </head>
  503.     <body id=\"{% block body_id %}{% endblock %}\">
  504.         {% block header %}
  505.             <header>
  506.                 <div class=\"navbar navbar-default navbar-static-top\" role=\"navigation\">
  507.                     <div class=\"container\">
  508.                         <div class=\"navbar-header col-md-3 col-lg-2\">
  509.                             <a class=\"navbar-brand\" href=\"{{ path('homepage') }}\">
  510.                                 Symfony Demo
  511.                             </a>
  512.                             <button type=\"button\" class=\"navbar-toggle\"
  513.                                     data-toggle=\"collapse\"
  514.                                     data-target=\".navbar-collapse\">
  515.                                 <span class=\"sr-only\">{{ 'menu.toggle_nav'|trans }}</span>
  516.                                 <span class=\"icon-bar\"></span>
  517.                                 <span class=\"icon-bar\"></span>
  518.                                 <span class=\"icon-bar\"></span>
  519.                             </button>
  520.                         </div>
  521.                         <div class=\"navbar-collapse collapse\">
  522.                             <ul class=\"nav navbar-nav navbar-right\">
  523.                                 {% block header_navigation_links %}
  524.                                     <li>
  525.                                         <a href=\"{{ path('blog_index') }}\">
  526.                                             <i class=\"fa fa-home\" aria-hidden=\"true\"></i> {{ 'menu.homepage'|trans }}
  527.                                         </a>
  528.                                     </li>
  529.                                     {% if is_granted('ROLE_ADMIN') %}
  530.                                         <li>
  531.                                             <a href=\"{{ path('admin_post_index') }}\">
  532.                                                 <i class=\"fa fa-lock\" aria-hidden=\"true\"></i> {{ 'menu.admin'|trans }}
  533.                                             </a>
  534.                                         </li>
  535.                                     {% endif %}
  536.                                 {% endblock %}
  537.                                 <li>
  538.                                     <a href=\"{{ path('blog_search') }}\"> <i class=\"fa fa-search\"></i> {{ 'menu.search'|trans }}</a>
  539.                                 </li>
  540.                                 {% if app.user %}
  541.                                     <li class=\"dropdown\">
  542.                                         <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\" id=\"user\">
  543.                                             <i class=\"fa fa-user\" aria-hidden=\"true\"></i>
  544.                                             <span class=\"caret\"></span>
  545.                                             <span class=\"sr-only\">{{ app.user.fullname }}</span>
  546.                                         </a>
  547.                                         <ul class=\"dropdown-menu user\" role=\"menu\" aria-labelledby=\"user\">
  548.                                             <li>
  549.                                                 <a href=\"{{ path('user_edit') }}\">
  550.                                                     <i class=\"fa fa-edit\" aria-hidden=\"true\"></i> {{ 'menu.user'|trans }}
  551.                                                 </a>
  552.                                             </li>
  553.                                             <li class=\"divider\"></li>
  554.                                             <li>
  555.                                                 <a href=\"{{ logout_path() }}\">
  556.                                                     <i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i> {{ 'menu.logout'|trans }}
  557.                                                 </a>
  558.                                             </li>
  559.                                         </ul>
  560.                                     </li>
  561.                                 {% endif %}
  562.                                 <li class=\"dropdown\">
  563.                                     <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\" id=\"locales\">
  564.                                         <i class=\"fa fa-globe\" aria-hidden=\"true\"></i>
  565.                                         <span class=\"caret\"></span>
  566.                                         <span class=\"sr-only\">{{ 'menu.choose_language'|trans }}</span>
  567.                                     </a>
  568.                                     <ul class=\"dropdown-menu locales\" role=\"menu\" aria-labelledby=\"locales\">
  569.                                         {% for locale in locales() %}
  570.                                             <li {% if app.request.locale == locale.code %}aria-checked=\"true\" class=\"active\"{% else %}aria-checked=\"false\"{% endif %} role=\"menuitem\"><a href=\"{{ path(app.request.get('_route', 'blog_index'), app.request.get('_route_params', [])|merge({_locale: locale.code})) }}\">{{ locale.name|capitalize }} <small>{{ locale.code[0:2] }}</small></a></li>
  571.                                         {% endfor %}
  572.                                     </ul>
  573.                                 </li>
  574.                             </ul>
  575.                         </div>
  576.                     </div>
  577.                 </div>
  578.             </header>
  579.         {% endblock %}
  580.         <div class=\"container body-container\">
  581.             {% block body %}
  582.                 <div class=\"row\">
  583.                     <div id=\"main\" class=\"col-sm-9\">
  584.                         {{ include('default/_flash_messages.html.twig') }}
  585.                         {% block main %}{% endblock %}
  586.                     </div>
  587.                     <div id=\"sidebar\" class=\"col-sm-3\">
  588.                         {% block sidebar %}
  589.                             {{ render_esi(controller('Symfony\\\\Bundle\\\\FrameworkBundle\\\\Controller\\\\TemplateController::templateAction', {
  590.                                 'template': 'blog/about.html.twig',
  591.                                 'sharedAge': 600,
  592.                                 '_locale': app.request.locale
  593.                             })) }}
  594.                         {% endblock %}
  595.                     </div>
  596.                 </div>
  597.             {% endblock %}
  598.         </div>
  599.         {% block footer %}
  600.             <footer>
  601.                 <div class=\"container\">
  602.                     <div class=\"row\">
  603.                         <div id=\"footer-copyright\" class=\"col-md-6\">
  604.                             <p>&copy; {{ 'now'|date('Y') }} - The Symfony Project</p>
  605.                             <p>{{ 'mit_license'|trans }}</p>
  606.                         </div>
  607.                         <div id=\"footer-resources\" class=\"col-md-6\">
  608.                             <p>
  609.                                 <a href=\"https://twitter.com/symfony\" title=\"Symfony Twitter\">
  610.                                     <i class=\"fa fa-twitter\" aria-hidden=\"true\"></i>
  611.                                 </a>
  612.                                 <a href=\"https://www.facebook.com/SensioLabs\" title=\"SensioLabs Facebook\">
  613.                                     <i class=\"fa fa-facebook\" aria-hidden=\"true\"></i>
  614.                                 </a>
  615.                                 <a href=\"https://symfony.com/blog/\" title=\"Symfony Blog\">
  616.                                     <i class=\"fa fa-rss\" aria-hidden=\"true\"></i>
  617.                                 </a>
  618.                             </p>
  619.                         </div>
  620.                     </div>
  621.                 </div>
  622.             </footer>
  623.         {% endblock %}
  624.         {# it's not mandatory to set the timezone in localizeddate(). This is done to
  625.            avoid errors when the 'intl' PHP extension is not available and the application
  626.            is forced to use the limited \"intl polyfill\", which only supports UTC and GMT #}
  627.         <!-- Page rendered on {{ 'now'|format_datetime('long', 'long', '', 'UTC') }} -->
  628.     </body>
  629. </html>
  630. ""base.html.twig""/home/sysmarine/sysmarine/templates/base.html.twig");
  631.     }
  632. }