var/cache/dev/twig/9b/9b1c606e223ae374d8820327c413104c77793520a7cd3b03a3992254cf516177.php line 70

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. /* tenant_base.html.twig */
  14. class __TwigTemplate_49f0320dea774560521ef85cab580deb0c5f51147771eb6500af1cad45186f77 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.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""tenant_base.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""tenant_base.html.twig"));
  34.         // line 1
  35.         echo "<!DOCTYPE html>
  36. <html lang=\"en\">
  37. <head>
  38.     <meta charset=\"UTF-8\">
  39.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  40.     <title>Home page</title>
  41.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css\" integrity=\"sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I\" crossorigin=\"anonymous\">
  42.     <link rel=\"stylesheet\" href=\"";
  43.         // line 8
  44.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  45.         echo "\">
  46.     <script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
  47.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js\" integrity=\"sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/\" crossorigin=\"anonymous\"></script>
  48. </head>
  49. <body>
  50. <nav class=\"navbar fixed-top navbar-light bg-light\">
  51.     <div class=\"container-fluid align-items-center\">
  52.         <a class=\"navbar-brand\">
  53.             <img src=\"";
  54.         // line 16
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("assets/images/" twig_get_attribute($this->env$this->source, (isset($context["tenant"]) || array_key_exists("tenant"$context) ? $context["tenant"] : (function () { throw new RuntimeError('Variable "tenant" does not exist.'16$this->source); })()), "subDomain", [], "any"falsefalsefalse16)) . "/") . (((twig_get_attribute($this->env$this->source, ($context["tenant"] ?? null), "logo", [], "any"truetruefalse16) &&  !(null === twig_get_attribute($this->env$this->source, ($context["tenant"] ?? null), "logo", [], "any"falsefalsefalse16)))) ? (twig_get_attribute($this->env$this->source, ($context["tenant"] ?? null), "logo", [], "any"falsefalsefalse16)) : ("logo_abshore.png")))), "html"nulltrue);
  56.         echo "\" alt=\"\">
  57.         </a>
  58.         <div class=\"d-flex\">
  59.             <a class=\"btn btn-outline-success\" type=\"submit\" href=\"";
  60.         // line 19
  61.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(((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.'19$this->source); })()), "user", [], "any"falsefalsefalse19)) ? ("admin") : ("login")));
  62.         echo "\">";
  63.         echo ((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.'19$this->source); })()), "user", [], "any"falsefalsefalse19)) ? ("Mon espace") : ("Connexion"));
  64.         echo "</a>
  65.         </div>
  66.     </div>
  67. </nav>
  68. ";
  69.         // line 23
  70.         $this->displayBlock('body'$context$blocks);
  71.         // line 25
  72.         echo "
  73. </body>
  74. </html>";
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.     }
  80.     // line 23
  81.     public function block_body($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     public function getTemplateName()
  94.     {
  95.         return "tenant_base.html.twig";
  96.     }
  97.     public function isTraitable()
  98.     {
  99.         return false;
  100.     }
  101.     public function getDebugInfo()
  102.     {
  103.         return array (  93 => 23,  81 => 25,  79 => 23,  70 => 19,  64 => 16,  53 => 8,  44 => 1,);
  104.     }
  105.     public function getSourceContext()
  106.     {
  107.         return new Source("<!DOCTYPE html>
  108. <html lang=\"en\">
  109. <head>
  110.     <meta charset=\"UTF-8\">
  111.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  112.     <title>Home page</title>
  113.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css\" integrity=\"sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I\" crossorigin=\"anonymous\">
  114.     <link rel=\"stylesheet\" href=\"{{asset('assets/css/style.css')}}\">
  115.     <script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
  116.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js\" integrity=\"sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/\" crossorigin=\"anonymous\"></script>
  117. </head>
  118. <body>
  119. <nav class=\"navbar fixed-top navbar-light bg-light\">
  120.     <div class=\"container-fluid align-items-center\">
  121.         <a class=\"navbar-brand\">
  122.             <img src=\"{{ asset( 'assets/images/' ~ tenant.subDomain ~ '/' ~ (tenant.logo ?? 'logo_abshore.png') ) }}\" alt=\"\">
  123.         </a>
  124.         <div class=\"d-flex\">
  125.             <a class=\"btn btn-outline-success\" type=\"submit\" href=\"{{ path( app.user ? 'admin' : 'login') }}\">{{ app.user ? 'Mon espace' : 'Connexion' }}</a>
  126.         </div>
  127.     </div>
  128. </nav>
  129. {% block body %}
  130. {% endblock %}
  131. </body>
  132. </html>""tenant_base.html.twig""/home/wwwroot/sf4/templates/tenant_base.html.twig");
  133.     }
  134. }