<?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;
/* RecruitmentCampaign/_campaign_list.html.twig */
class __TwigTemplate_ea24128cdf34b1671487ec5a0ddac19c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'campaign_content' => [$this, 'block_campaign_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "RecruitmentCampaign/campaign.html.twig";
}
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", "RecruitmentCampaign/_campaign_list.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "RecruitmentCampaign/_campaign_list.html.twig"));
$this->parent = $this->loadTemplate("RecruitmentCampaign/campaign.html.twig", "RecruitmentCampaign/_campaign_list.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_campaign_content($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", "campaign_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "campaign_content"));
// line 4
echo "<div class='";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("flex row space top"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
<div id='article' class='w100 ";
// line 5
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html", null, true);
echo "'>
";
// line 6
if (twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 6, $this->source); })()), "empty", [], "any", false, false, false, 6)) {
// line 7
echo " <h2>
";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No results found"), "html", null, true);
echo "
</h2>
";
} else {
// line 11
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 11, $this->source); })()), "results", [], "any", false, false, false, 11));
$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["o"]) {
// line 12
echo " ";
echo twig_include($this->env, $context, "RecruitmentCampaign/_campaign_card.html.twig", ["campaign" => $context["o"]]);
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['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
echo " ";
}
// line 15
echo " </div>
<aside class=\"";
// line 16
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in hz-15-in"), "html", null, true);
echo "\">
";
// line 17
echo twig_include($this->env, $context, "security/_provider_login_form.html.twig");
echo "
</aside>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "RecruitmentCampaign/_campaign_list.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 139 => 17, 133 => 16, 130 => 15, 127 => 14, 110 => 12, 92 => 11, 86 => 8, 83 => 7, 81 => 6, 75 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"RecruitmentCampaign/campaign.html.twig\" %}
{% block campaign_content %}
<div class='{{desktop(\"flex row space top\")}} {{mobile(\"\")}}'>
<div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
{% if paginator.empty %}
<h2>
{{ 'No results found'|trans }}
</h2>
{% else %}
{% for o in paginator.results %}
{{ include('RecruitmentCampaign/_campaign_card.html.twig', {campaign: o}) }}
{% endfor %}
{% endif %}
</div>
<aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('vt-20-in hz-15-in')}}\">
{{ include('security/_provider_login_form.html.twig') }}
</aside>
</div>
{% endblock %}
", "RecruitmentCampaign/_campaign_list.html.twig", "/home/olasoftnka/nsia-provider/templates/RecruitmentCampaign/_campaign_list.html.twig");
}
}