var/cache/dev/twig/f3/f33af0e7d7e3a9ae19652de7c168ac215acfe33a7a1cc1e405c23daee44cf4f2.php line 37

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. /* frontend/base.html.twig */
  14. class __TwigTemplate_e29e31ce89ac8f61c1c429d4fc996f01eea06a10a845f5e26317d5d724194753 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.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/base.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html ";
  40.         // line 2
  41.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHtmlAttributes();
  42.         echo ">
  43. \t<head ";
  44.         // line 3
  45.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHeadAttributes();
  46.         echo ">
  47. \t\t<meta charset=\"UTF-8\">
  48. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  49. \t\t<link rel=\"shortcut icon\" href=\"";
  50.         // line 6
  51.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('parameter')->getCallable()("app_icon")), "html"nulltrue);
  52.         echo "\" type=\"image/x-icon\" sizes=\"32x32\">
  53. \t\t";
  54.         // line 7
  55.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getMetadatas();
  56.         echo "
  57. \t\t";
  58.         // line 8
  59.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLinkCanonical();
  60.         echo "
  61. \t\t";
  62.         // line 9
  63.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLangAlternates();
  64.         echo "
  65. \t\t";
  66.         // line 10
  67.         $this->displayBlock('title'$context$blocks);
  68.         // line 12
  69.         echo "        
  70. \t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  71. \t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  72. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap\" rel=\"stylesheet\">
  73. \t\t";
  74.         // line 16
  75.         echo twig_include($this->env$context"frontend/stylesheet.html.twig");
  76.         echo "
  77. \t\t";
  78.         // line 18
  79.         $this->displayBlock('stylesheets'$context$blocks);
  80.         // line 19
  81.         echo "\t</head>
  82. \t<body>
  83. \t\t";
  84.         // line 21
  85.         echo twig_include($this->env$context"frontend/_header.html.twig");
  86.         echo "
  87. \t\t";
  88.         // line 23
  89.         $this->displayBlock('body'$context$blocks);
  90.         // line 24
  91.         echo "
  92. \t\t<div id=\"mybutton\">
  93. \t\t\t<a href=\"";
  94.         // line 26
  95.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("tfeedback_form");
  96.         echo "\" class=\"feedback fw-500\" data-toggle=\"modal\" data-target=\"#feedback\">
  97. \t\t\t\t<i class=\"fa fa-comments-o\"></i>
  98. \t\t\t\tFeedback
  99. \t\t\t</a>
  100. \t\t</div>
  101. \t\t";
  102.         // line 32
  103.         $this->loadTemplate("frontend/t_feedback/modal.html.twig""frontend/base.html.twig"32)->display($context);
  104.         // line 33
  105.         echo "
  106.         ";
  107.         // line 34
  108.         $context["current_route"] = twig_get_attribute($this->env$this->sourcetwig_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.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "attributes", [], "any"falsefalsefalse34), "get", ["_route"], "method"falsefalsefalse34);
  109.         // line 35
  110.         echo "        ";
  111.         if ((!== twig_compare((isset($context["current_route"]) || array_key_exists("current_route"$context) ? $context["current_route"] : (function () { throw new RuntimeError('Variable "current_route" does not exist.'35$this->source); })()), "homepage"))) {
  112.             // line 36
  113.             echo "\t\t    ";
  114.             echo twig_include($this->env$context"frontend/_footer.html.twig");
  115.             echo "
  116.         ";
  117.         }
  118.         // line 38
  119.         echo "
  120. \t</body>
  121. \t";
  122.         // line 40
  123.         echo twig_include($this->env$context"frontend/javascript.html.twig");
  124.         echo "
  125. \t";
  126.         // line 42
  127.         $this->displayBlock('javascripts'$context$blocks);
  128.         // line 43
  129.         echo "</html>
  130. ";
  131.         
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  133.         
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  135.     }
  136.     // line 10
  137.     public function block_title($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  144.         // line 11
  145.         echo "\t\t\t";
  146.         echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getTitle();
  147.         echo "
  148. \t\t";
  149.         
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  151.         
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  153.     }
  154.     // line 18
  155.     public function block_stylesheets($context, array $blocks = [])
  156.     {
  157.         $macros $this->macros;
  158.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  160.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  162.         
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  164.         
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  166.     }
  167.     // line 23
  168.     public function block_body($context, array $blocks = [])
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  175.         echo twig_escape_filter($this->env, (isset($context["endblock"]) || array_key_exists("endblock"$context) ? $context["endblock"] : (function () { throw new RuntimeError('Variable "endblock" does not exist.'23$this->source); })()), "html"nulltrue);
  176.         
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  178.         
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  180.     }
  181.     // line 42
  182.     public function block_javascripts($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  189.         
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  191.         
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  193.     }
  194.     public function getTemplateName()
  195.     {
  196.         return "frontend/base.html.twig";
  197.     }
  198.     public function isTraitable()
  199.     {
  200.         return false;
  201.     }
  202.     public function getDebugInfo()
  203.     {
  204.         return array (  213 => 42,  194 => 23,  176 => 18,  163 => 11,  153 => 10,  142 => 43,  140 => 42,  135 => 40,  131 => 38,  125 => 36,  122 => 35,  120 => 34,  117 => 33,  115 => 32,  106 => 26,  102 => 24,  100 => 23,  95 => 21,  91 => 19,  89 => 18,  84 => 16,  78 => 12,  76 => 10,  72 => 9,  68 => 8,  64 => 7,  60 => 6,  54 => 3,  50 => 2,  47 => 1,);
  205.     }
  206.     public function getSourceContext()
  207.     {
  208.         return new Source("<!DOCTYPE html>
  209. <html {{ sonata_seo_html_attributes() }}>
  210. \t<head {{ sonata_seo_head_attributes() }}>
  211. \t\t<meta charset=\"UTF-8\">
  212. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  213. \t\t<link rel=\"shortcut icon\" href=\"{{asset(parameter('app_icon')) }}\" type=\"image/x-icon\" sizes=\"32x32\">
  214. \t\t{{ sonata_seo_metadatas() }}
  215. \t\t{{ sonata_seo_link_canonical() }}
  216. \t\t{{ sonata_seo_lang_alternates() }}
  217. \t\t{% block title %}
  218. \t\t\t{{ sonata_seo_title() }}
  219. \t\t{% endblock %}        
  220. \t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  221. \t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  222. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap\" rel=\"stylesheet\">
  223. \t\t{{ include('frontend/stylesheet.html.twig') }}
  224. \t\t{% block stylesheets %}{% endblock %}
  225. \t</head>
  226. \t<body>
  227. \t\t{{ include('frontend/_header.html.twig') }}
  228. \t\t{% block body endblock %}
  229. \t\t<div id=\"mybutton\">
  230. \t\t\t<a href=\"{{ path('tfeedback_form') }}\" class=\"feedback fw-500\" data-toggle=\"modal\" data-target=\"#feedback\">
  231. \t\t\t\t<i class=\"fa fa-comments-o\"></i>
  232. \t\t\t\tFeedback
  233. \t\t\t</a>
  234. \t\t</div>
  235. \t\t{% include(\"frontend/t_feedback/modal.html.twig\") %}
  236.         {% set current_route = app.request.attributes.get('_route') %}
  237.         {% if current_route != 'homepage' %}
  238. \t\t    {{ include('frontend/_footer.html.twig') }}
  239.         {% endif %}
  240. \t</body>
  241. \t{{ include('frontend/javascript.html.twig') }}
  242. \t{% block javascripts %}{% endblock %}
  243. </html>
  244. ""frontend/base.html.twig""/var/www/html/open_data/templates/frontend/base.html.twig");
  245.     }
  246. }