<?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;
/* user/amateur/online.html.twig */
class __TwigTemplate_d7015a8b18afc03701734ee911f6271e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title_suffix' => [$this, 'block_title_suffix'],
'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)), "user/amateur/online.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", "user/amateur/online.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "user/amateur/online.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 2
public function block_title_suffix($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", "title_suffix"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title_suffix"));
echo "Online Amateure - Seite ";
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", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_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-amateur.html.twig", "user/amateur/online.html.twig", 4)->display($context);
// line 5
echo "
";
// line 6
if (false) {
// line 7
echo " ";
// line 8
echo " <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>
";
}
// line 17
echo "
<div class=\"resultlist row\">
";
// line 19
$context['_parent'] = $context;
$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); })()));
$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["amateur"]) {
// line 20
echo " ";
$this->loadTemplate("_widgets/home-amateur.html.twig", "user/amateur/online.html.twig", 20)->display(twig_array_merge($context, ["member" => $context["amateur"]]));
// line 21
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['amateur'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo " </div>
";
// line 23
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); })()))) {
// line 24
echo " ";
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); })()));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "user/amateur/online.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends baseTemplateName(app.request) %}
{% block title_suffix %}Online Amateure - Seite {{ page }}{% endblock %}
{% block body %}
{% include '_structure/menu-tabs-amateur.html.twig' %}
{% if false %}
{# https://interquest.atlassian.net/browse/FE-22 #}
<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>
{% endif %}
<div class=\"resultlist row\">
{% for amateur in amateurs %}
{% include '_widgets/home-amateur.html.twig' with { member: amateur } %}
{% endfor %}
</div>
{% if amateurs|length %}
{{ knp_pagination_render(amateurs) }}
{% endif %}
{% endblock %}
", "user/amateur/online.html.twig", "/var/www/frontend-dev/apps/frontend/templates/user/amateur/online.html.twig");
}
}