var/cache/dev/twig/43/43aaf3c70d8aca5c3ae3367036147f98.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/index.html.twig */
  14. class __TwigTemplate_cf5bfcbb325621cea9308dc089d3e397 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/index.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/index.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/index.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/index.html.twig"4)->display($context);
  55.         // line 5
  56.         echo "
  57.     ";
  58.         // line 16
  59.         echo "
  60.     <div class=\"resultlist row\">
  61.         ";
  62.         // line 18
  63.         $context['_parent'] = $context;
  64.         $context['_seq'] = twig_ensure_traversable((isset($context["imagesets"]) || array_key_exists("imagesets"$context) ? $context["imagesets"] : (function () { throw new RuntimeError('Variable "imagesets" does not exist.'18$this->source); })()));
  65.         $context['loop'] = [
  66.           'parent' => $context['_parent'],
  67.           'index0' => 0,
  68.           'index'  => 1,
  69.           'first'  => true,
  70.         ];
  71.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  72.             $length count($context['_seq']);
  73.             $context['loop']['revindex0'] = $length 1;
  74.             $context['loop']['revindex'] = $length;
  75.             $context['loop']['length'] = $length;
  76.             $context['loop']['last'] = === $length;
  77.         }
  78.         foreach ($context['_seq'] as $context["_key"] => $context["imageset"]) {
  79.             // line 19
  80.             echo "            ";
  81.             $this->loadTemplate("_widgets/home-content-imageset.html.twig""content/imageset/index.html.twig"19)->display(twig_array_merge($context, ["imageset" => $context["imageset"]]));
  82.             // line 20
  83.             echo "        ";
  84.             ++$context['loop']['index0'];
  85.             ++$context['loop']['index'];
  86.             $context['loop']['first'] = false;
  87.             if (isset($context['loop']['length'])) {
  88.                 --$context['loop']['revindex0'];
  89.                 --$context['loop']['revindex'];
  90.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  91.             }
  92.         }
  93.         $_parent $context['_parent'];
  94.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imageset'], $context['_parent'], $context['loop']);
  95.         $context array_intersect_key($context$_parent) + $_parent;
  96.         // line 21
  97.         echo "    </div>
  98.     ";
  99.         // line 22
  100.         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); })()));
  101.         echo "
  102. ";
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     public function getTemplateName()
  109.     {
  110.         return "content/imageset/index.html.twig";
  111.     }
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     public function getDebugInfo()
  117.     {
  118.         return array (  114 => 22,  111 => 21,  97 => 20,  94 => 19,  77 => 18,  73 => 16,  70 => 5,  67 => 4,  57 => 3,  35 => 1,);
  119.     }
  120.     public function getSourceContext()
  121.     {
  122.         return new Source("{% extends baseTemplateName(app.request) %}
  123. {% block body %}
  124.     {% include '_structure/menu-tabs-imageset.html.twig' %}
  125.     {#
  126.     <div class=\"filter row align-items-center bg-grey-10 py-3 mx-0 mb-4\">
  127.         <h6 class=\"col-1 mb-0\">Filter:</h6>
  128.         <form class=\"col-11\">
  129.             <select class=\"col-3 mr-3 form-control custom-select\"><option>Geschlecht: bitte wählen</option></select>
  130.             <select class=\"col-3 mr-3 form-control custom-select\"><option>Alter: bitte wählen</option></select>
  131.             <select class=\"col-3 form-control custom-select\"><option>PLZ: bitte wählen</option></select>
  132.         </form>
  133.     </div>
  134.     #}
  135.     <div class=\"resultlist row\">
  136.         {% for imageset in imagesets %}
  137.             {% include '_widgets/home-content-imageset.html.twig' with { imageset: imageset } %}
  138.         {% endfor %}
  139.     </div>
  140.     {{ knp_pagination_render(imagesets) }}
  141. {% endblock %}""content/imageset/index.html.twig""/var/www/frontend-dev/apps/frontend/templates/content/imageset/index.html.twig");
  142.     }
  143. }