var/cache/dev/twig/3d/3dfef46b7a0bda4417e08894000de070c67cba607c700f56d05e94296cb1df85.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\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. /* standard_layout.html.twig */
  14. class __TwigTemplate_3043043dceef91f7dc06902ab82f551a96284d5d54437ac1ef52a2bcd9714484 extends \Twig\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->blocks = [
  23.             'logo' => [$this'block_logo'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "@SonataAdmin/standard_layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_layout.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_layout.html.twig"));
  38.         $this->parent $this->loadTemplate("@SonataAdmin/standard_layout.html.twig""standard_layout.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_logo($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""logo"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""logo"));
  53.         // line 4
  54.         echo "\t";
  55.         ob_start();
  56.         // line 5
  57.         echo "\t\t<a class=\"logo\" href=\"";
  58.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_dashboard");
  59.         echo "\">
  60. \t\t\t";
  61.         // line 6
  62.         if ((("single_image" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'6$this->source); })()), "adminPool", [], "any"falsefalsefalse6), "getOption", [=> "title_mode"], "method"falsefalsefalse6)) || ("both" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'6$this->source); })()), "adminPool", [], "any"falsefalsefalse6), "getOption", [=> "title_mode"], "method"falsefalsefalse6)))) {
  63.             // line 7
  64.             echo "\t\t\t\t<img src=\"";
  65.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["praxis"]) || array_key_exists("praxis"$context) ? $context["praxis"] : (function () { throw new RuntimeError('Variable "praxis" does not exist.'7$this->source); })()), "logo", [], "any"falsefalsefalse7), "html"nulltrue);
  66.             echo "\" alt=\"";
  67.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'7$this->source); })()), "adminPool", [], "any"falsefalsefalse7), "title", [], "any"falsefalsefalse7), "html"nulltrue);
  68.             echo "\">
  69. \t\t\t";
  70.         }
  71.         // line 9
  72.         echo "\t\t\t";
  73.         if ((("single_text" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'9$this->source); })()), "adminPool", [], "any"falsefalsefalse9), "getOption", [=> "title_mode"], "method"falsefalsefalse9)) || ("both" == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'9$this->source); })()), "adminPool", [], "any"falsefalsefalse9), "getOption", [=> "title_mode"], "method"falsefalsefalse9)))) {
  74.             // line 10
  75.             echo "\t\t\t\t<span>";
  76.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sonata_admin"]) || array_key_exists("sonata_admin"$context) ? $context["sonata_admin"] : (function () { throw new RuntimeError('Variable "sonata_admin" does not exist.'10$this->source); })()), "adminPool", [], "any"falsefalsefalse10), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  77.             echo "</span>
  78. \t\t\t";
  79.         }
  80.         // line 12
  81.         echo "\t\t</a>
  82. \t";
  83.         $___internal_e55706499743842e8a5b52e5c68982aae3c0aef5fa369dedc70ce969c7a00231_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  84.         // line 4
  85.         echo twig_spaceless($___internal_e55706499743842e8a5b52e5c68982aae3c0aef5fa369dedc70ce969c7a00231_);
  86.         
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.     }
  91.     public function getTemplateName()
  92.     {
  93.         return "standard_layout.html.twig";
  94.     }
  95.     public function isTraitable()
  96.     {
  97.         return false;
  98.     }
  99.     public function getDebugInfo()
  100.     {
  101.         return array (  99 => 4,  95 => 12,  89 => 10,  86 => 9,  78 => 7,  76 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  102.     }
  103.     public function getSourceContext()
  104.     {
  105.         return new Source("{% extends '@SonataAdmin/standard_layout.html.twig' %}
  106. {% block logo %}
  107. \t{% apply spaceless %}
  108. \t\t<a class=\"logo\" href=\"{{ path('sonata_admin_dashboard') }}\">
  109. \t\t\t{% if 'single_image' == sonata_admin.adminPool.getOption('title_mode') or 'both' == sonata_admin.adminPool.getOption('title_mode') %}
  110. \t\t\t\t<img src=\"{{ praxis.logo }}\" alt=\"{{ sonata_admin.adminPool.title }}\">
  111. \t\t\t{% endif %}
  112. \t\t\t{% if 'single_text' == sonata_admin.adminPool.getOption('title_mode') or 'both' == sonata_admin.adminPool.getOption('title_mode') %}
  113. \t\t\t\t<span>{{ sonata_admin.adminPool.title }}</span>
  114. \t\t\t{% endif %}
  115. \t\t</a>
  116. \t{% endapply %}
  117. {% endblock %}""standard_layout.html.twig""/var/www/smart-vet2/releases/20221224112818/templates/standard_layout.html.twig");
  118.     }
  119. }