<?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;
/* content/imageset/topmonth.html.twig */
class __TwigTemplate_ca03bab75409f442657002a93cf6d0a1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate($this->extensions['App\Twig\MiscExtension']->getBaseTemplateName(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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1)), "content/imageset/topmonth.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/imageset/topmonth.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/imageset/topmonth.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 4
echo " ";
$this->loadTemplate("_structure/menu-tabs-imageset.html.twig", "content/imageset/topmonth.html.twig", 4)->display($context);
// line 5
echo " ";
// line 15
echo "
<div class=\"resultlist row\">
";
// line 17
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["imagesets"]) || array_key_exists("imagesets", $context) ? $context["imagesets"] : (function () { throw new RuntimeError('Variable "imagesets" does not exist.', 17, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["imageset"]) {
// line 18
echo " ";
$this->loadTemplate("_widgets/home-content-imageset.html.twig", "content/imageset/topmonth.html.twig", 18)->display(twig_array_merge($context, ["imageset" => $context["imageset"]]));
// line 19
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imageset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " </div>
";
// line 21
if (twig_length_filter($this->env, (isset($context["imagesets"]) || array_key_exists("imagesets", $context) ? $context["imagesets"] : (function () { throw new RuntimeError('Variable "imagesets" does not exist.', 21, $this->source); })()))) {
// line 22
echo " ";
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["imagesets"]) || array_key_exists("imagesets", $context) ? $context["imagesets"] : (function () { throw new RuntimeError('Variable "imagesets" does not exist.', 22, $this->source); })()));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/imageset/topmonth.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 115 => 22, 113 => 21, 110 => 20, 96 => 19, 93 => 18, 76 => 17, 72 => 15, 70 => 5, 67 => 4, 57 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends baseTemplateName(app.request) %}
{% block body %}
{% include '_structure/menu-tabs-imageset.html.twig' %}
{# https://interquest.atlassian.net/browse/FE-7
<div class=\"filter row align-items-center bg-grey-10 py-3 mx-0 mb-4\">
<h6 class=\"col-1 mb-0\">Filter:</h6>
<form class=\"col-11\">
<select class=\"col-3 mr-3 form-control custom-select\"><option>Geschlecht: bitte wählen</option></select>
<select class=\"col-3 mr-3 form-control custom-select\"><option>Alter: bitte wählen</option></select>
<select class=\"col-3 form-control custom-select\"><option>PLZ: bitte wählen</option></select>
</form>
</div>
#}
<div class=\"resultlist row\">
{% for imageset in imagesets %}
{% include '_widgets/home-content-imageset.html.twig' with { imageset: imageset } %}
{% endfor %}
</div>
{% if imagesets|length %}
{{ knp_pagination_render(imagesets) }}
{% endif %}
{% endblock %}", "content/imageset/topmonth.html.twig", "/var/www/frontend-dev/apps/frontend/templates/content/imageset/topmonth.html.twig");
}
}