var/cache/dev/twig/05/05b73cb5c6b35bd57ddccf0ca89297d6.php line 227

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_dbc1e72fa84d0733fc71c1ee7cd2ce9e 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40. <head>
  41.     <meta charset=\"UTF-8\"/>
  42.     <title>";
  43.         // line 5
  44.         $this->displayBlock('title'$context$blocks);
  45.         echo "</title>
  46. ";
  47.         // line 8
  48.         echo "    ";
  49.         $this->displayBlock('stylesheets'$context$blocks);
  50.         // line 13
  51.         echo "    <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  53.         echo "\"/>
  54.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  55.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
  56.     <link rel=\"icon\" type=\"image/png\" href=\"";
  57.         // line 16
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), "html"nulltrue);
  59.         echo "\" sizes=\"32x32\">
  60.     <link rel=\"icon\" type=\"image/png\" href=\"";
  61.         // line 17
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html"nulltrue);
  63.         echo "\" sizes=\"16x16\">
  64.     <link rel=\"manifest\" href=\"";
  65.         // line 18
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html"nulltrue);
  67.         echo "\">
  68.     <link rel=\"mask-icon\" href=\"";
  69.         // line 19
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html"nulltrue);
  71.         echo "\">
  72.     <meta name=\"theme-color\" content=\"#ffffff\">
  73. ";
  74.         // line 22
  75.         echo "</head>
  76. <body class=\"";
  77.         // line 23
  78.         echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_join_filter(((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse23), "roles", [], "any"truetruefalse23)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse23), "roles", [], "any"falsefalsefalse23), [])) : ([])), " ")), "html"nulltrue);
  79.         echo "\">
  80. <header>
  81.     <div class=\"head-bg\">
  82.         <img class=\"logo\" alt=\"prothelis - protecting life\"
  83.              src=\"";
  84.         // line 27
  85.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/layout/prothelis_logo_claim-1x.png"), "html"nulltrue);
  86.         echo "\"
  87.              srcset=\"";
  88.         // line 28
  89.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/layout/prothelis_logo_claim-1x.png"), "html"nulltrue);
  90.         echo " 1x, ";
  91.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/layout/prothelis_logo_claim-2x.png"), "html"nulltrue);
  92.         echo " 2x\">
  93.         <nav class=\"menu-wrapper\">
  94.         ";
  95.         // line 30
  96.         if ((((array_key_exists("blank"$context)) ? (_twig_default_filter((isset($context["blank"]) || array_key_exists("blank"$context) ? $context["blank"] : (function () { throw new RuntimeError('Variable "blank" does not exist.'30$this->source); })()), false)) : (false)) != true)) {
  97.             // line 31
  98.             echo "            <a href=\"";
  99.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_account");
  100.             echo "\" class=\"link-white\">";
  101.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.customer"), "html"nulltrue);
  102.             echo "</a>
  103.             ";
  104.             // line 32
  105.             if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPORT"))) {
  106.                 echo " &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"/account/";
  107.                 echo twig_escape_filter($this->envtwig_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.'32$this->source); })()), "request", [], "any"falsefalsefalse32), "attributes", [], "any"falsefalsefalse32), "get", [=> "_locale"], "method"falsefalsefalse32), "html"nulltrue);
  108.                 echo "/admin\" class=\"link-white\">Admin</a>";
  109.             }
  110.             // line 33
  111.             echo "            ";
  112.             if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPORT"))) {
  113.                 echo " &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"/account/";
  114.                 echo twig_escape_filter($this->envtwig_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.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "attributes", [], "any"falsefalsefalse33), "get", [=> "_locale"], "method"falsefalsefalse33), "html"nulltrue);
  115.                 echo "/admin/trackerdetail\" class=\"link-white\">Tracker</a>";
  116.             }
  117.             // line 34
  118.             echo "            ";
  119.             if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_TECHGUY") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPORT"))) {
  120.                 echo " &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"";
  121.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("tech_root");
  122.                 echo "\" class=\"link-white\">Tech Data</a>";
  123.             }
  124.             // line 35
  125.             echo "            ";
  126.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_RENTING_PARTNER")) {
  127.                 echo " &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"";
  128.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("renting_dashboard");
  129.                 echo "\" class=\"link-white\">Renting</a>";
  130.             }
  131.             // line 36
  132.             echo "            &nbsp;&nbsp;|&nbsp;&nbsp;
  133.         ";
  134.         }
  135.         // line 38
  136.         echo "            <span class=\"dropdown\" style=\"top: 3px;\">
  137.                 ";
  138.         // line 39
  139.         $context['_parent'] = $context;
  140.         $context['_seq'] = twig_ensure_traversable((isset($context["locales"]) || array_key_exists("locales"$context) ? $context["locales"] : (function () { throw new RuntimeError('Variable "locales" does not exist.'39$this->source); })()));
  141.         foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  142.             // line 40
  143.             echo "                    ";
  144.             if ((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.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "attributes", [], "any"falsefalsefalse40), "get", [=> "_locale"], "method"falsefalsefalse40) == twig_get_attribute($this->env$this->source$context["locale"], "id", [], "any"falsefalsefalse40))) {
  145.                 // line 41
  146.                 echo "                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"flag-18 flag-icon-background flag-icon-";
  147.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "flag", [], "any"falsefalsefalse41), "html"nulltrue);
  148.                 echo "\"></span></a>
  149.                     ";
  150.             }
  151.             // line 43
  152.             echo "                ";
  153.         }
  154.         $_parent $context['_parent'];
  155.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  156.         $context array_intersect_key($context$_parent) + $_parent;
  157.         // line 44
  158.         echo "                <ul class=\"dropdown-menu\">
  159.                     ";
  160.         // line 45
  161.         $context['_parent'] = $context;
  162.         $context['_seq'] = twig_ensure_traversable((isset($context["locales"]) || array_key_exists("locales"$context) ? $context["locales"] : (function () { throw new RuntimeError('Variable "locales" does not exist.'45$this->source); })()));
  163.         foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  164.             // line 46
  165.             echo "                        <li ";
  166.             if ((twig_get_attribute($this->env$this->source$context["locale"], "id", [], "any"falsefalsefalse46) == 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.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "attributes", [], "any"falsefalsefalse46), "get", [=> "_locale"], "method"falsefalsefalse46))) {
  167.                 echo "class=\"active\"";
  168.             }
  169.             echo ">
  170.                             ";
  171.             // line 47
  172.             if ((twig_get_attribute($this->env$this->source$context["locale"], "id", [], "any"falsefalsefalse47) == 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.'47$this->source); })()), "request", [], "any"falsefalsefalse47), "attributes", [], "any"falsefalsefalse47), "get", [=> "_locale"], "method"falsefalsefalse47))) {
  173.                 // line 48
  174.                 echo "                                <a><span class=\"flag-18 flag-icon-background flag-icon-";
  175.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "flag", [], "any"falsefalsefalse48), "html"nulltrue);
  176.                 echo "\"></span> ";
  177.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "name", [], "any"falsefalsefalse48), "html"nulltrue);
  178.                 echo "</a>
  179.                             ";
  180.             } else {
  181.                 // line 50
  182.                 echo "                                <a href=\"";
  183.                 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.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "get", [=> "_route"], "method"falsefalsefalse50), 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.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "get", [=> "_route_params"], "method"falsefalsefalse50), ["_locale" => twig_get_attribute($this->env$this->source$context["locale"], "id", [], "any"falsefalsefalse50)])), "html"nulltrue);
  184.                 echo "\" class=\"language\" rel=\"";
  185.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "id", [], "any"falsefalsefalse50), "html"nulltrue);
  186.                 echo "\"><span class=\"flag-18 flag-icon-background flag-icon-";
  187.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "flag", [], "any"falsefalsefalse50), "html"nulltrue);
  188.                 echo "\"></span> ";
  189.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["locale"], "name", [], "any"falsefalsefalse50), "html"nulltrue);
  190.                 echo "</a>
  191.                             ";
  192.             }
  193.             // line 52
  194.             echo "                        </li>
  195.                     ";
  196.         }
  197.         $_parent $context['_parent'];
  198.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  199.         $context array_intersect_key($context$_parent) + $_parent;
  200.         // line 54
  201.         echo "                </ul>
  202.             </span>
  203.         </nav>
  204.     </div>
  205. </header>
  206. <section class=\"container\">
  207.     <section class=\"row\">
  208.         <article class=\"col col-md-10 col-md-offset-1\">
  209.             ";
  210.         // line 62
  211.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
  212.             // line 73
  213.             echo "            ";
  214.         }
  215.         // line 74
  216.         echo "            ";
  217.         $context['_parent'] = $context;
  218.         $context['_seq'] = twig_ensure_traversable(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.'74$this->source); })()), "session", [], "any"falsefalsefalse74), "flashBag", [], "any"falsefalsefalse74), "get", [=> "success"], "method"falsefalsefalse74));
  219.         foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  220.             // line 75
  221.             echo "                <div class=\"alert alert-success\">
  222.                     ";
  223.             // line 76
  224.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["msg"]);
  225.             echo "
  226.                 </div>
  227.             ";
  228.         }
  229.         $_parent $context['_parent'];
  230.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  231.         $context array_intersect_key($context$_parent) + $_parent;
  232.         // line 79
  233.         echo "            ";
  234.         $context['_parent'] = $context;
  235.         $context['_seq'] = twig_ensure_traversable(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.'79$this->source); })()), "session", [], "any"falsefalsefalse79), "flashBag", [], "any"falsefalsefalse79), "get", [=> "warning"], "method"falsefalsefalse79));
  236.         foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  237.             // line 80
  238.             echo "                <div class=\"alert alert-warning\">
  239.                     ";
  240.             // line 81
  241.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["msg"]);
  242.             echo "
  243.                 </div>
  244.             ";
  245.         }
  246.         $_parent $context['_parent'];
  247.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  248.         $context array_intersect_key($context$_parent) + $_parent;
  249.         // line 84
  250.         echo "            ";
  251.         $context['_parent'] = $context;
  252.         $context['_seq'] = twig_ensure_traversable(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.'84$this->source); })()), "session", [], "any"falsefalsefalse84), "flashBag", [], "any"falsefalsefalse84), "get", [=> "error"], "method"falsefalsefalse84));
  253.         foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  254.             // line 85
  255.             echo "                <div class=\"alert alert-danger\">
  256.                     ";
  257.             // line 86
  258.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["msg"]);
  259.             echo "
  260.                 </div>
  261.             ";
  262.         }
  263.         $_parent $context['_parent'];
  264.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  265.         $context array_intersect_key($context$_parent) + $_parent;
  266.         // line 89
  267.         echo "        </article>
  268.     </section>
  269.     <section class=\"row\">
  270.         <article class=\"col col-md-12 col-md-offset-0\">
  271.             ";
  272.         // line 93
  273.         $context['_parent'] = $context;
  274.         $context['_seq'] = twig_ensure_traversable(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.'93$this->source); })()), "session", [], "any"falsefalsefalse93), "flashBag", [], "any"falsefalsefalse93), "get", [=> "success_renting"], "method"falsefalsefalse93));
  275.         foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  276.             // line 94
  277.             echo "                <div class=\"alert alert-success\">
  278.                     ";
  279.             // line 95
  280.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["msg"]);
  281.             echo "
  282.                 </div>
  283.             ";
  284.         }
  285.         $_parent $context['_parent'];
  286.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  287.         $context array_intersect_key($context$_parent) + $_parent;
  288.         // line 98
  289.         echo "            ";
  290.         $context['_parent'] = $context;
  291.         $context['_seq'] = twig_ensure_traversable(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.'98$this->source); })()), "session", [], "any"falsefalsefalse98), "flashBag", [], "any"falsefalsefalse98), "get", [=> "error"], "method"falsefalsefalse98));
  292.         foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  293.             // line 99
  294.             echo "                <div class=\"alert alert-danger\">
  295.                     ";
  296.             // line 100
  297.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["msg"]);
  298.             echo "
  299.                 </div>
  300.             ";
  301.         }
  302.         $_parent $context['_parent'];
  303.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  304.         $context array_intersect_key($context$_parent) + $_parent;
  305.         // line 103
  306.         echo "        </article>
  307.     </section>
  308. </section>
  309. <section style=\"clear:both; height: 100%; padding-bottom:180px;\">
  310.     ";
  311.         // line 107
  312.         $this->displayBlock('body'$context$blocks);
  313.         // line 108
  314.         echo "</section>
  315. <footer class=\"foot-bg\">
  316.     <div class=\"footer-wrapper\">
  317.         ";
  318.         // line 111
  319.         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.'111$this->source); })()), "user", [], "any"falsefalsefalse111)) {
  320.             echo "<a href=\"";
  321.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("security_logout");
  322.             echo "\" class=\"menuitem\">";
  323.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("misc.logout"), "html"nulltrue);
  324.             echo "</a>
  325.             ";
  326.             // line 112
  327.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  328.                 // line 113
  329.                 echo "                | <a href=\"";
  330.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_account", ["_switch_user" => "_exit"]);
  331.                 echo "\" class=\"menuitem\">Exit impersonation</a>
  332.             ";
  333.             }
  334.             // line 115
  335.             echo "            <br />";
  336.         }
  337.         // line 116
  338.         echo "        <a href=\"";
  339.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("service_tos");
  340.         echo "\" class=\"menuitem\">";
  341.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("misc.tos"), "html"nulltrue);
  342.         echo "</a>&nbsp;&nbsp;|&nbsp;
  343.         <a href=\"";
  344.         // line 117
  345.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("service_privacy");
  346.         echo "\" class=\"menuitem\">";
  347.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("misc.privacy"), "html"nulltrue);
  348.         echo "</a>&nbsp;&nbsp;|&nbsp;
  349.         <a href=\"";
  350.         // line 118
  351.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("service_legal");
  352.         echo "\" class=\"menuitem\">";
  353.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("misc.legal"), "html"nulltrue);
  354.         echo "</a>
  355.     </div>
  356. </footer>
  357. ";
  358.         // line 121
  359.         $this->displayBlock('javascripts'$context$blocks);
  360.         // line 127
  361.         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.'127$this->source); })()), "environment", [], "any"falsefalsefalse127) == "prod")) {
  362.             // line 128
  363.             echo "    ";
  364.             $this->loadTemplate("elements/google_analytics.html.twig""base.html.twig"128)->display($context);
  365.         }
  366.         // line 130
  367.         echo "</body>
  368. </html>
  369. ";
  370.         
  371.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  372.         
  373.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  374.     }
  375.     // line 5
  376.     public function block_title($context, array $blocks = [])
  377.     {
  378.         $macros $this->macros;
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  383.         echo "Welcome!";
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.     }
  389.     // line 8
  390.     public function block_stylesheets($context, array $blocks = [])
  391.     {
  392.         $macros $this->macros;
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  397.         // line 9
  398.         echo "        ";
  399.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  400.         echo "
  401. ";
  402.         // line 12
  403.         echo "    ";
  404.         
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  406.         
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  408.     }
  409.     // line 107
  410.     public function block_body($context, array $blocks = [])
  411.     {
  412.         $macros $this->macros;
  413.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  416.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  417.         
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     // line 121
  423.     public function block_javascripts($context, array $blocks = [])
  424.     {
  425.         $macros $this->macros;
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  430.         // line 122
  431.         echo "    ";
  432.         // line 124
  433.         echo "    ";
  434.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  435.         echo "
  436. ";
  437.         
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  439.         
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  441.     }
  442.     public function getTemplateName()
  443.     {
  444.         return "base.html.twig";
  445.     }
  446.     public function isTraitable()
  447.     {
  448.         return false;
  449.     }
  450.     public function getDebugInfo()
  451.     {
  452.         return array (  462 => 124,  460 => 122,  450 => 121,  432 => 107,  422 => 12,  417 => 9,  407 => 8,  388 => 5,  376 => 130,  372 => 128,  370 => 127,  368 => 121,  360 => 118,  354 => 117,  347 => 116,  344 => 115,  338 => 113,  336 => 112,  328 => 111,  323 => 108,  321 => 107,  315 => 103,  306 => 100,  303 => 99,  298 => 98,  289 => 95,  286 => 94,  282 => 93,  276 => 89,  267 => 86,  264 => 85,  259 => 84,  250 => 81,  247 => 80,  242 => 79,  233 => 76,  230 => 75,  225 => 74,  222 => 73,  220 => 62,  210 => 54,  203 => 52,  191 => 50,  183 => 48,  181 => 47,  174 => 46,  170 => 45,  167 => 44,  161 => 43,  155 => 41,  152 => 40,  148 => 39,  145 => 38,  141 => 36,  134 => 35,  127 => 34,  120 => 33,  114 => 32,  107 => 31,  105 => 30,  98 => 28,  94 => 27,  87 => 23,  84 => 22,  79 => 19,  75 => 18,  71 => 17,  67 => 16,  60 => 13,  57 => 8,  53 => 5,  47 => 1,);
  453.     }
  454.     public function getSourceContext()
  455.     {
  456.         return new Source("<!DOCTYPE html>
  457. <html>
  458. <head>
  459.     <meta charset=\"UTF-8\"/>
  460.     <title>{% block title %}Welcome!{% endblock %}</title>
  461. {#    <link rel=\"stylesheet\" href=\"{{ asset('vendor/bootstrap/dist/css/bootstrap.min.css') }}\">#}
  462. {#    <link rel=\"stylesheet\" href=\"{{ asset('vendor/flag-icon-css/css/flag-icon.min.css') }}\">#}
  463.     {% block stylesheets %}
  464.         {{ encore_entry_link_tags('app') }}
  465. {#        <link rel=\"stylesheet\" href=\"{{ asset('css/font.css') }}\">#}
  466. {#        <link rel=\"stylesheet\" href=\"{{ asset('css/base.css') }}\">#}
  467.     {% endblock %}
  468.     <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico') }}\"/>
  469.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  470.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
  471.     <link rel=\"icon\" type=\"image/png\" href=\"{{ asset('favicon-32x32.png') }}\" sizes=\"32x32\">
  472.     <link rel=\"icon\" type=\"image/png\" href=\"{{ asset('favicon-16x16.png') }}\" sizes=\"16x16\">
  473.     <link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
  474.     <link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\">
  475.     <meta name=\"theme-color\" content=\"#ffffff\">
  476. {#    <script src=\"{{ asset('vendor/jquery/dist/jquery.min.js') }}\"></script>#}
  477. </head>
  478. <body class=\"{{ app.user.roles|default([])|join(' ')|lower }}\">
  479. <header>
  480.     <div class=\"head-bg\">
  481.         <img class=\"logo\" alt=\"prothelis - protecting life\"
  482.              src=\"{{ asset('img/layout/prothelis_logo_claim-1x.png') }}\"
  483.              srcset=\"{{ asset('img/layout/prothelis_logo_claim-1x.png') }} 1x, {{ asset('img/layout/prothelis_logo_claim-2x.png') }} 2x\">
  484.         <nav class=\"menu-wrapper\">
  485.         {% if blank|default(false) != true %}
  486.             <a href=\"{{ path('user_account') }}\" class=\"link-white\">{{ 'account.customer'|trans }}</a>
  487.             {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_SUPPORT') %} &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"/account/{{ app.request.attributes.get('_locale') }}/admin\" class=\"link-white\">Admin</a>{% endif %}
  488.             {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_SUPPORT') %} &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"/account/{{ app.request.attributes.get('_locale') }}/admin/trackerdetail\" class=\"link-white\">Tracker</a>{% endif %}
  489.             {% if is_granted('ROLE_TECHGUY') or is_granted('ROLE_SUPPORT') %} &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"{{ path('tech_root') }}\" class=\"link-white\">Tech Data</a>{% endif %}
  490.             {% if is_granted('ROLE_RENTING_PARTNER') %} &nbsp;&nbsp;|&nbsp;&nbsp; <a href=\"{{ path('renting_dashboard') }}\" class=\"link-white\">Renting</a>{% endif %}
  491.             &nbsp;&nbsp;|&nbsp;&nbsp;
  492.         {% endif %}
  493.             <span class=\"dropdown\" style=\"top: 3px;\">
  494.                 {% for locale in locales %}
  495.                     {% if app.request.attributes.get('_locale') == locale.id %}
  496.                         <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\"><span class=\"flag-18 flag-icon-background flag-icon-{{ locale.flag }}\"></span></a>
  497.                     {% endif %}
  498.                 {% endfor %}
  499.                 <ul class=\"dropdown-menu\">
  500.                     {% for locale in locales %}
  501.                         <li {% if locale.id == app.request.attributes.get('_locale') %}class=\"active\"{% endif %}>
  502.                             {% if locale.id == app.request.attributes.get('_locale') %}
  503.                                 <a><span class=\"flag-18 flag-icon-background flag-icon-{{ locale.flag }}\"></span> {{ locale.name }}</a>
  504.                             {% else %}
  505.                                 <a href=\"{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({ '_locale': locale.id })) }}\" class=\"language\" rel=\"{{ locale.id }}\"><span class=\"flag-18 flag-icon-background flag-icon-{{ locale.flag }}\"></span> {{ locale.name }}</a>
  506.                             {% endif %}
  507.                         </li>
  508.                     {% endfor %}
  509.                 </ul>
  510.             </span>
  511.         </nav>
  512.     </div>
  513. </header>
  514. <section class=\"container\">
  515.     <section class=\"row\">
  516.         <article class=\"col col-md-10 col-md-offset-1\">
  517.             {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  518. {#            <div class=\"alert alert-success\">#}
  519. {#                <p style=\"width: 100%; text-align: right;\">05.07.2021</p>#}
  520. {#                <br />#}
  521. {#                 <strong>Geplante Wartungsarbeiten am 09.02.2023</strong><br />
  522.                 Am Donnerstag, dem 09.02.2023, erwartet Sie eine kurze Unterbrechung unseres Services. Ab 15 Uhr werden wir unser System aktualisieren, um Ihnen weiterhin eine optimale Funktionalität und Sicherheit zu gewährleisten. Die Prothelis App und die my-prothelis.de Webseite werden für etwa 2 Stunden nicht verfügbar sein. Auch die Tracker werden in dieser Zeit nicht funktionieren. Bitte haben Sie Verständnis für die kurze Unterbrechung, wir arbeiten hart daran, Ihnen ein besseres Erlebnis zu bieten.
  523.                 <br /><br />
  524.                 <strong>Planned maintenance work on 09.02.2023</strong><br />
  525.                 On Thursday, 09.02.2023, you can expect a short interruption of service. Starting at 3pm (CET), we will update our system to continue to provide you with optimal functionality and security. The Prothelis App and the my-prothelis.de website will be unavailable for approximately 2 hours. The trackers will also not work during this time. Please understand the short interruption, we are working hard to provide you with a better experience.
  526. #}
  527. {#            </div>#}
  528.             {% endif %}
  529.             {% for msg in app.session.flashBag.get('success') %}
  530.                 <div class=\"alert alert-success\">
  531.                     {{ msg|trans|raw }}
  532.                 </div>
  533.             {% endfor %}
  534.             {% for msg in app.session.flashBag.get('warning') %}
  535.                 <div class=\"alert alert-warning\">
  536.                     {{ msg|trans|raw }}
  537.                 </div>
  538.             {% endfor %}
  539.             {% for msg in app.session.flashBag.get('error') %}
  540.                 <div class=\"alert alert-danger\">
  541.                     {{ msg|trans|raw }}
  542.                 </div>
  543.             {% endfor %}
  544.         </article>
  545.     </section>
  546.     <section class=\"row\">
  547.         <article class=\"col col-md-12 col-md-offset-0\">
  548.             {% for msg in app.session.flashBag.get('success_renting') %}
  549.                 <div class=\"alert alert-success\">
  550.                     {{ msg|trans|raw }}
  551.                 </div>
  552.             {% endfor %}
  553.             {% for msg in app.session.flashBag.get('error') %}
  554.                 <div class=\"alert alert-danger\">
  555.                     {{ msg|trans|raw }}
  556.                 </div>
  557.             {% endfor %}
  558.         </article>
  559.     </section>
  560. </section>
  561. <section style=\"clear:both; height: 100%; padding-bottom:180px;\">
  562.     {% block body %}{% endblock %}
  563. </section>
  564. <footer class=\"foot-bg\">
  565.     <div class=\"footer-wrapper\">
  566.         {% if app.user %}<a href=\"{{ path('security_logout') }}\" class=\"menuitem\">{{ 'misc.logout'|trans }}</a>
  567.             {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  568.                 | <a href=\"{{ path('user_account', {'_switch_user': '_exit'}) }}\" class=\"menuitem\">Exit impersonation</a>
  569.             {% endif %}
  570.             <br />{% endif %}
  571.         <a href=\"{{ path('service_tos') }}\" class=\"menuitem\">{{ 'misc.tos'|trans }}</a>&nbsp;&nbsp;|&nbsp;
  572.         <a href=\"{{ path('service_privacy') }}\" class=\"menuitem\">{{ 'misc.privacy'|trans }}</a>&nbsp;&nbsp;|&nbsp;
  573.         <a href=\"{{ path('service_legal') }}\" class=\"menuitem\">{{ 'misc.legal'|trans }}</a>
  574.     </div>
  575. </footer>
  576. {% block javascripts %}
  577.     {#<script src=\"{{ asset('vendor/jquery/dist/jquery.min.js') }}\"></script>#}
  578. {#    <script src=\"{{ asset('vendor/bootstrap/dist/js/bootstrap.min.js') }}\"></script>#}
  579.     {{ encore_entry_script_tags('app') }}
  580. {#    <script src=\"{{ asset('js/base.js') }}\"></script>#}
  581. {% endblock %}
  582. {% if app.environment == 'prod' %}
  583.     {% include 'elements/google_analytics.html.twig' %}
  584. {% endif %}
  585. </body>
  586. </html>
  587. ""base.html.twig""/var/www/html/account_dev/templates/base.html.twig");
  588.     }
  589. }