var/cache/dev/twig/5c/5ca4d56091e9934d732e9943b40f3185.php line 47

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. /* content/imageset/topmonth.html.twig */
  14. class __TwigTemplate_ca03bab75409f442657002a93cf6d0a1 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->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         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"falsefalsefalse1)), "content/imageset/topmonth.html.twig"1);
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/imageset/topmonth.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/imageset/topmonth.html.twig"));
  38.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  39.         
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41.         
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43.     }
  44.     // line 3
  45.     public function block_body($context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         // line 4
  53.         echo "    ";
  54.         $this->loadTemplate("_structure/menu-tabs-imageset.html.twig""content/imageset/topmonth.html.twig"4)->display($context);
  55.         // line 5
  56.         echo "    ";
  57.         // line 15
  58.         echo "
  59.     <div class=\"resultlist row\">
  60.         ";
  61.         // line 17
  62.         $context['_parent'] = $context;
  63.         $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); })()));
  64.         $context['loop'] = [
  65.           'parent' => $context['_parent'],
  66.           'index0' => 0,
  67.           'index'  => 1,
  68.           'first'  => true,
  69.         ];
  70.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  71.             $length count($context['_seq']);
  72.             $context['loop']['revindex0'] = $length 1;
  73.             $context['loop']['revindex'] = $length;
  74.             $context['loop']['length'] = $length;
  75.             $context['loop']['last'] = === $length;
  76.         }
  77.         foreach ($context['_seq'] as $context["_key"] => $context["imageset"]) {
  78.             // line 18
  79.             echo "            ";
  80.             $this->loadTemplate("_widgets/home-content-imageset.html.twig""content/imageset/topmonth.html.twig"18)->display(twig_array_merge($context, ["imageset" => $context["imageset"]]));
  81.             // line 19
  82.             echo "        ";
  83.             ++$context['loop']['index0'];
  84.             ++$context['loop']['index'];
  85.             $context['loop']['first'] = false;
  86.             if (isset($context['loop']['length'])) {
  87.                 --$context['loop']['revindex0'];
  88.                 --$context['loop']['revindex'];
  89.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  90.             }
  91.         }
  92.         $_parent $context['_parent'];
  93.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imageset'], $context['_parent'], $context['loop']);
  94.         $context array_intersect_key($context$_parent) + $_parent;
  95.         // line 20
  96.         echo "    </div>
  97.     ";
  98.         // line 21
  99.         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); })()))) {
  100.             // line 22
  101.             echo "        ";
  102.             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); })()));
  103.             echo "
  104.     ";
  105.         }
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.     }
  111.     public function getTemplateName()
  112.     {
  113.         return "content/imageset/topmonth.html.twig";
  114.     }
  115.     public function isTraitable()
  116.     {
  117.         return false;
  118.     }
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  115 => 22,  113 => 21,  110 => 20,  96 => 19,  93 => 18,  76 => 17,  72 => 15,  70 => 5,  67 => 4,  57 => 3,  35 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends baseTemplateName(app.request) %}
  126. {% block body %}
  127.     {% include '_structure/menu-tabs-imageset.html.twig' %}
  128.     {# https://interquest.atlassian.net/browse/FE-7
  129.     <div class=\"filter row align-items-center bg-grey-10 py-3 mx-0 mb-4\">
  130.         <h6 class=\"col-1 mb-0\">Filter:</h6>
  131.         <form class=\"col-11\">
  132.             <select class=\"col-3 mr-3 form-control custom-select\"><option>Geschlecht: bitte wählen</option></select>
  133.             <select class=\"col-3 mr-3 form-control custom-select\"><option>Alter: bitte wählen</option></select>
  134.             <select class=\"col-3 form-control custom-select\"><option>PLZ: bitte wählen</option></select>
  135.         </form>
  136.     </div>
  137.     #}
  138.     <div class=\"resultlist row\">
  139.         {% for imageset in imagesets %}
  140.             {% include '_widgets/home-content-imageset.html.twig' with { imageset: imageset } %}
  141.         {% endfor %}
  142.     </div>
  143.     {% if imagesets|length %}
  144.         {{ knp_pagination_render(imagesets) }}
  145.     {% endif %}
  146. {% endblock %}""content/imageset/topmonth.html.twig""/var/www/frontend-dev/apps/frontend/templates/content/imageset/topmonth.html.twig");
  147.     }
  148. }