<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* standard_layout.html.twig */
class __TwigTemplate_3043043dceef91f7dc06902ab82f551a96284d5d54437ac1ef52a2bcd9714484 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'logo' => [$this, 'block_logo'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SonataAdmin/standard_layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "standard_layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "standard_layout.html.twig"));
$this->parent = $this->loadTemplate("@SonataAdmin/standard_layout.html.twig", "standard_layout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_logo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "logo"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "logo"));
// line 4
echo "\t";
ob_start();
// line 5
echo "\t\t<a class=\"logo\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sonata_admin_dashboard");
echo "\">
\t\t\t";
// line 6
if ((("single_image" == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 6), "getOption", [0 => "title_mode"], "method", false, false, false, 6)) || ("both" == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 6), "getOption", [0 => "title_mode"], "method", false, false, false, 6)))) {
// line 7
echo "\t\t\t\t<img src=\"";
echo twig_escape_filter($this->env, twig_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", false, false, false, 7), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 7), "title", [], "any", false, false, false, 7), "html", null, true);
echo "\">
\t\t\t";
}
// line 9
echo "\t\t\t";
if ((("single_text" == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 9), "getOption", [0 => "title_mode"], "method", false, false, false, 9)) || ("both" == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 9), "getOption", [0 => "title_mode"], "method", false, false, false, 9)))) {
// line 10
echo "\t\t\t\t<span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 10), "title", [], "any", false, false, false, 10), "html", null, true);
echo "</span>
\t\t\t";
}
// line 12
echo "\t\t</a>
\t";
$___internal_e55706499743842e8a5b52e5c68982aae3c0aef5fa369dedc70ce969c7a00231_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 4
echo twig_spaceless($___internal_e55706499743842e8a5b52e5c68982aae3c0aef5fa369dedc70ce969c7a00231_);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "standard_layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 99 => 4, 95 => 12, 89 => 10, 86 => 9, 78 => 7, 76 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SonataAdmin/standard_layout.html.twig' %}
{% block logo %}
\t{% apply spaceless %}
\t\t<a class=\"logo\" href=\"{{ path('sonata_admin_dashboard') }}\">
\t\t\t{% if 'single_image' == sonata_admin.adminPool.getOption('title_mode') or 'both' == sonata_admin.adminPool.getOption('title_mode') %}
\t\t\t\t<img src=\"{{ praxis.logo }}\" alt=\"{{ sonata_admin.adminPool.title }}\">
\t\t\t{% endif %}
\t\t\t{% if 'single_text' == sonata_admin.adminPool.getOption('title_mode') or 'both' == sonata_admin.adminPool.getOption('title_mode') %}
\t\t\t\t<span>{{ sonata_admin.adminPool.title }}</span>
\t\t\t{% endif %}
\t\t</a>
\t{% endapply %}
{% endblock %}", "standard_layout.html.twig", "/var/www/smart-vet2/releases/20221224112818/templates/standard_layout.html.twig");
}
}