var/cache/dev/twig/6d/6d3bc0d857223b6b3bb6ea1807815e39.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. /* user/amateur/online.html.twig */
  14. class __TwigTemplate_d7015a8b18afc03701734ee911f6271e 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)), "user/amateur/online.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""user/amateur/online.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""user/amateur/online.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 "Online Amateure - 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 3
  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 4
  69.         echo "    ";
  70.         $this->loadTemplate("_structure/menu-tabs-amateur.html.twig""user/amateur/online.html.twig"4)->display($context);
  71.         // line 5
  72.         echo "
  73.     ";
  74.         // line 6
  75.         if (false) {
  76.             // line 7
  77.             echo "        ";
  78.             // line 8
  79.             echo "        <div class=\"filter row align-items-center bg-grey-10 py-3 mx-0 mb-4\">
  80.             <h6 class=\"col-1 mb-0\">Filter:</h6>
  81.             <form class=\"col-11\">
  82.                 <select class=\"col-3 mr-3 form-control custom-select\"><option>Geschlecht: bitte wählen</option></select>
  83.                 <select class=\"col-3 mr-3 form-control custom-select\"><option>Alter: bitte wählen</option></select>
  84.                 <select class=\"col-3 form-control custom-select\"><option>PLZ: bitte wählen</option></select>
  85.             </form>
  86.         </div>
  87.     ";
  88.         }
  89.         // line 17
  90.         echo "
  91.     <div class=\"resultlist row\">
  92.         ";
  93.         // line 19
  94.         $context['_parent'] = $context;
  95.         $context['_seq'] = twig_ensure_traversable((isset($context["amateurs"]) || array_key_exists("amateurs"$context) ? $context["amateurs"] : (function () { throw new RuntimeError('Variable "amateurs" does not exist.'19$this->source); })()));
  96.         $context['loop'] = [
  97.           'parent' => $context['_parent'],
  98.           'index0' => 0,
  99.           'index'  => 1,
  100.           'first'  => true,
  101.         ];
  102.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  103.             $length count($context['_seq']);
  104.             $context['loop']['revindex0'] = $length 1;
  105.             $context['loop']['revindex'] = $length;
  106.             $context['loop']['length'] = $length;
  107.             $context['loop']['last'] = === $length;
  108.         }
  109.         foreach ($context['_seq'] as $context["_key"] => $context["amateur"]) {
  110.             // line 20
  111.             echo "            ";
  112.             $this->loadTemplate("_widgets/home-amateur.html.twig""user/amateur/online.html.twig"20)->display(twig_array_merge($context, ["member" => $context["amateur"]]));
  113.             // line 21
  114.             echo "        ";
  115.             ++$context['loop']['index0'];
  116.             ++$context['loop']['index'];
  117.             $context['loop']['first'] = false;
  118.             if (isset($context['loop']['length'])) {
  119.                 --$context['loop']['revindex0'];
  120.                 --$context['loop']['revindex'];
  121.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  122.             }
  123.         }
  124.         $_parent $context['_parent'];
  125.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['amateur'], $context['_parent'], $context['loop']);
  126.         $context array_intersect_key($context$_parent) + $_parent;
  127.         // line 22
  128.         echo "    </div>
  129.     ";
  130.         // line 23
  131.         if (twig_length_filter($this->env, (isset($context["amateurs"]) || array_key_exists("amateurs"$context) ? $context["amateurs"] : (function () { throw new RuntimeError('Variable "amateurs" does not exist.'23$this->source); })()))) {
  132.             // line 24
  133.             echo "        ";
  134.             echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["amateurs"]) || array_key_exists("amateurs"$context) ? $context["amateurs"] : (function () { throw new RuntimeError('Variable "amateurs" does not exist.'24$this->source); })()));
  135.             echo "
  136.     ";
  137.         }
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     public function getTemplateName()
  144.     {
  145.         return "user/amateur/online.html.twig";
  146.     }
  147.     public function isTraitable()
  148.     {
  149.         return false;
  150.     }
  151.     public function getDebugInfo()
  152.     {
  153.         return array (  152 => 24,  150 => 23,  147 => 22,  133 => 21,  130 => 20,  113 => 19,  109 => 17,  98 => 8,  96 => 7,  94 => 6,  91 => 5,  88 => 4,  78 => 3,  58 => 2,  36 => 1,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{% extends baseTemplateName(app.request) %}
  158. {% block title_suffix %}Online Amateure - Seite {{ page }}{% endblock %}
  159. {% block body %}
  160.     {% include '_structure/menu-tabs-amateur.html.twig' %}
  161.     {% if false %}
  162.         {# https://interquest.atlassian.net/browse/FE-22 #}
  163.         <div class=\"filter row align-items-center bg-grey-10 py-3 mx-0 mb-4\">
  164.             <h6 class=\"col-1 mb-0\">Filter:</h6>
  165.             <form class=\"col-11\">
  166.                 <select class=\"col-3 mr-3 form-control custom-select\"><option>Geschlecht: bitte wählen</option></select>
  167.                 <select class=\"col-3 mr-3 form-control custom-select\"><option>Alter: bitte wählen</option></select>
  168.                 <select class=\"col-3 form-control custom-select\"><option>PLZ: bitte wählen</option></select>
  169.             </form>
  170.         </div>
  171.     {% endif %}
  172.     <div class=\"resultlist row\">
  173.         {% for amateur in amateurs %}
  174.             {% include '_widgets/home-amateur.html.twig' with { member: amateur } %}
  175.         {% endfor %}
  176.     </div>
  177.     {% if amateurs|length %}
  178.         {{ knp_pagination_render(amateurs) }}
  179.     {% endif %}
  180. {% endblock %}
  181. ""user/amateur/online.html.twig""/var/www/frontend-dev/apps/frontend/templates/user/amateur/online.html.twig");
  182.     }
  183. }