<?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;
/* SaloonList/list.html.twig */
class __TwigTemplate_7baac6302ffef406500bd87a50b9e3f4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'mainContainer' => [$this, 'block_mainContainer'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "grid.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SaloonList/list.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SaloonList/list.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SaloonList/list.html.twig"));
$this->parent = $this->loadTemplate("grid.html.twig", "SaloonList/list.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_mainContainer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mainContainer"));
// line 4
echo " ";
echo $this->extensions['App\Twig\SeoExtension']->topHtml();
echo "
<h1>";
// line 5
echo $this->extensions['App\Twig\SeoExtension']->pageHeading();
echo "</h1>
";
// line 6
$this->loadTemplate("ProfileList/geo_category_linkage.partial.html.twig", "SaloonList/list.html.twig", 6)->display($context);
// line 7
echo "
<div
id=\"saloon-list\"
class=\"row mb-3\"
data-recommendations-fill-applied=\"";
// line 11
echo ((((array_key_exists("recommendations_fill_applied", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_applied"]) || array_key_exists("recommendations_fill_applied", $context) ? $context["recommendations_fill_applied"] : (function () { throw new RuntimeError('Variable "recommendations_fill_applied" does not exist.', 11, $this->source); })()), false)) : (false))) ? (1) : (0));
echo "\"
data-recommendations-fill-original-count=\"";
// line 12
echo twig_escape_filter($this->env, ((array_key_exists("recommendations_fill_original_count", $context)) ? (_twig_default_filter((isset($context["recommendations_fill_original_count"]) || array_key_exists("recommendations_fill_original_count", $context) ? $context["recommendations_fill_original_count"] : (function () { throw new RuntimeError('Variable "recommendations_fill_original_count" does not exist.', 12, $this->source); })()), ((twig_get_attribute($this->env, $this->source, ($context["saloons"] ?? null), "totalCount", [], "any", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["saloons"] ?? null), "totalCount", [], "any", false, false, false, 12), 0)) : (0)))) : (((twig_get_attribute($this->env, $this->source, ($context["saloons"] ?? null), "totalCount", [], "any", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["saloons"] ?? null), "totalCount", [], "any", false, false, false, 12), 0)) : (0)))), "html", null, true);
echo "\"
>
";
// line 14
$this->loadTemplate("SaloonList/list.saloons.html.twig", "SaloonList/list.html.twig", 14)->display($context);
// line 15
echo " </div>
";
// line 16
if ((array_key_exists("ssr_recommended_profiles", $context) && !twig_test_empty((isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 16, $this->source); })())))) {
// line 17
echo " <h4>Рекоммендуемые</h4>
<div class=\"row mb-3\">
";
// line 19
$this->loadTemplate("ProfileList/list.profiles.html.twig", "SaloonList/list.html.twig", 19)->display(twig_array_merge($context, ["profiles" => // line 20
(isset($context["ssr_recommended_profiles"]) || array_key_exists("ssr_recommended_profiles", $context) ? $context["ssr_recommended_profiles"] : (function () { throw new RuntimeError('Variable "ssr_recommended_profiles" does not exist.', 20, $this->source); })()), "show_total_count" => false]));
// line 23
echo " </div>
";
}
// line 25
echo " ";
$this->loadTemplate("SaloonList/_show_more.saloons.html.twig", "SaloonList/list.html.twig", 25)->display($context);
// line 26
echo " ";
echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["saloons"]) || array_key_exists("saloons", $context) ? $context["saloons"] : (function () { throw new RuntimeError('Variable "saloons" does not exist.', 26, $this->source); })()));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "SaloonList/list.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 124 => 26, 121 => 25, 117 => 23, 115 => 20, 114 => 19, 110 => 17, 108 => 16, 105 => 15, 103 => 14, 98 => 12, 94 => 11, 88 => 7, 86 => 6, 82 => 5, 77 => 4, 64 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'grid.html.twig' %}
{% block mainContainer %}
{{ seo_top() }}
<h1>{{ seo_heading() }}</h1>
{% include 'ProfileList/geo_category_linkage.partial.html.twig' %}
<div
id=\"saloon-list\"
class=\"row mb-3\"
data-recommendations-fill-applied=\"{{ recommendations_fill_applied|default(false) ? 1 : 0 }}\"
data-recommendations-fill-original-count=\"{{ recommendations_fill_original_count|default(saloons.totalCount|default(0)) }}\"
>
{% include 'SaloonList/list.saloons.html.twig' %}
</div>
{% if ssr_recommended_profiles is defined and ssr_recommended_profiles is not empty %}
<h4>Рекоммендуемые</h4>
<div class=\"row mb-3\">
{% include 'ProfileList/list.profiles.html.twig' with {
profiles: ssr_recommended_profiles,
show_total_count: false
} %}
</div>
{% endif %}
{% include 'SaloonList/_show_more.saloons.html.twig' %}
{{ porpaginas_render(saloons) }}
{% endblock %}
", "SaloonList/list.html.twig", "/app/templates/SaloonList/list.html.twig");
}
}