var/cache/dev/twig/bb/bb176b136e6b8d653c981a83db78e133.php line 39

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. /* groups/index/top.html.twig */
  14. class __TwigTemplate_be2feb97fbdc2b2f6fbba5674843b3de 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.             'title_suffix' => [$this'block_title_suffix'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         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)), "groups/index/top.html.twig"1);
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""groups/index/top.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""groups/index/top.html.twig"));
  39.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 2
  46.     public function block_title_suffix($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  53.         echo "Gruppen - Bestbewertete Gruppen - Seite ";
  54.         echo twig_escape_filter($this->env, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'2$this->source); })()), "html"nulltrue);
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 4
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 5
  69.         echo "    ";
  70.         $this->loadTemplate("_structure/menu-tabs-groups.html.twig""groups/index/top.html.twig"5)->display($context);
  71.         // line 6
  72.         echo "
  73.     <div class=\"resultlist row\">
  74.         ";
  75.         // line 8
  76.         $context['_parent'] = $context;
  77.         $context['_seq'] = twig_ensure_traversable((isset($context["groups"]) || array_key_exists("groups"$context) ? $context["groups"] : (function () { throw new RuntimeError('Variable "groups" does not exist.'8$this->source); })()));
  78.         $context['loop'] = [
  79.           'parent' => $context['_parent'],
  80.           'index0' => 0,
  81.           'index'  => 1,
  82.           'first'  => true,
  83.         ];
  84.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  85.             $length count($context['_seq']);
  86.             $context['loop']['revindex0'] = $length 1;
  87.             $context['loop']['revindex'] = $length;
  88.             $context['loop']['length'] = $length;
  89.             $context['loop']['last'] = === $length;
  90.         }
  91.         foreach ($context['_seq'] as $context["_key"] => $context["group"]) {
  92.             // line 9
  93.             echo "            ";
  94.             $this->loadTemplate("_widgets/groups-group.html.twig""groups/index/top.html.twig"9)->display(twig_array_merge($context, ["group" => $context["group"]]));
  95.             // line 10
  96.             echo "        ";
  97.             ++$context['loop']['index0'];
  98.             ++$context['loop']['index'];
  99.             $context['loop']['first'] = false;
  100.             if (isset($context['loop']['length'])) {
  101.                 --$context['loop']['revindex0'];
  102.                 --$context['loop']['revindex'];
  103.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  104.             }
  105.         }
  106.         $_parent $context['_parent'];
  107.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['group'], $context['_parent'], $context['loop']);
  108.         $context array_intersect_key($context$_parent) + $_parent;
  109.         // line 11
  110.         echo "    </div>
  111.     ";
  112.         // line 12
  113.         if (twig_length_filter($this->env, (isset($context["groups"]) || array_key_exists("groups"$context) ? $context["groups"] : (function () { throw new RuntimeError('Variable "groups" does not exist.'12$this->source); })()))) {
  114.             // line 13
  115.             echo "        ";
  116.             echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["groups"]) || array_key_exists("groups"$context) ? $context["groups"] : (function () { throw new RuntimeError('Variable "groups" does not exist.'13$this->source); })()));
  117.             echo "
  118.     ";
  119.         }
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.     }
  125.     public function getTemplateName()
  126.     {
  127.         return "groups/index/top.html.twig";
  128.     }
  129.     public function isTraitable()
  130.     {
  131.         return false;
  132.     }
  133.     public function getDebugInfo()
  134.     {
  135.         return array (  134 => 13,  132 => 12,  129 => 11,  115 => 10,  112 => 9,  95 => 8,  91 => 6,  88 => 5,  78 => 4,  58 => 2,  36 => 1,);
  136.     }
  137.     public function getSourceContext()
  138.     {
  139.         return new Source("{% extends baseTemplateName(app.request) %}
  140. {% block title_suffix %}Gruppen - Bestbewertete Gruppen - Seite {{ page }}{% endblock %}
  141. {% block body %}
  142.     {% include '_structure/menu-tabs-groups.html.twig' %}
  143.     <div class=\"resultlist row\">
  144.         {% for group in groups %}
  145.             {% include '_widgets/groups-group.html.twig' with { group: group } %}
  146.         {% endfor %}
  147.     </div>
  148.     {% if groups|length %}
  149.         {{ knp_pagination_render(groups) }}
  150.     {% endif %}
  151. {% endblock %}""groups/index/top.html.twig""/var/www/frontend-dev/apps/frontend/templates/groups/index/top.html.twig");
  152.     }
  153. }