var/cache/dev/twig/07/072e336aefc1af0877078e4df09231c2.php line 48

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. /* RecruitmentCampaign/_campaign_list.html.twig */
  14. class __TwigTemplate_ea24128cdf34b1671487ec5a0ddac19c 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.             'campaign_content' => [$this'block_campaign_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "RecruitmentCampaign/campaign.html.twig";
  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""RecruitmentCampaign/_campaign_list.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""RecruitmentCampaign/_campaign_list.html.twig"));
  38.         $this->parent $this->loadTemplate("RecruitmentCampaign/campaign.html.twig""RecruitmentCampaign/_campaign_list.html.twig"1);
  39.         $this->parent->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 3
  46.     public function block_campaign_content($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""campaign_content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""campaign_content"));
  53.         // line 4
  54.         echo "<div class='";
  55.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("flex row space top"), "html"nulltrue);
  56.         echo " ";
  57.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  58.         echo "'>
  59.     <div id='article' class='w100 ";
  60.         // line 5
  61.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  62.         echo " ";
  63.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html"nulltrue);
  64.         echo "'>
  65.         ";
  66.         // line 6
  67.         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"falsefalsefalse6)) {
  68.             // line 7
  69.             echo "            <h2>
  70.                 ";
  71.             // line 8
  72.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No results found"), "html"nulltrue);
  73.             echo "
  74.             </h2>
  75.         ";
  76.         } else {
  77.             // line 11
  78.             echo "            ";
  79.             $context['_parent'] = $context;
  80.             $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"falsefalsefalse11));
  81.             $context['loop'] = [
  82.               'parent' => $context['_parent'],
  83.               'index0' => 0,
  84.               'index'  => 1,
  85.               'first'  => true,
  86.             ];
  87.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  88.                 $length count($context['_seq']);
  89.                 $context['loop']['revindex0'] = $length 1;
  90.                 $context['loop']['revindex'] = $length;
  91.                 $context['loop']['length'] = $length;
  92.                 $context['loop']['last'] = === $length;
  93.             }
  94.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  95.                 // line 12
  96.                 echo "                ";
  97.                 echo twig_include($this->env$context"RecruitmentCampaign/_campaign_card.html.twig", ["campaign" => $context["o"]]);
  98.                 echo "
  99.             ";
  100.                 ++$context['loop']['index0'];
  101.                 ++$context['loop']['index'];
  102.                 $context['loop']['first'] = false;
  103.                 if (isset($context['loop']['length'])) {
  104.                     --$context['loop']['revindex0'];
  105.                     --$context['loop']['revindex'];
  106.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  107.                 }
  108.             }
  109.             $_parent $context['_parent'];
  110.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  111.             $context array_intersect_key($context$_parent) + $_parent;
  112.             // line 14
  113.             echo "        ";
  114.         }
  115.         // line 15
  116.         echo "    </div>
  117.     <aside class=\"";
  118.         // line 16
  119.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html"nulltrue);
  120.         echo " ";
  121.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in hz-15-in"), "html"nulltrue);
  122.         echo "\">
  123.         ";
  124.         // line 17
  125.         echo twig_include($this->env$context"security/_provider_login_form.html.twig");
  126.         echo "
  127.     </aside>
  128. </div>
  129. ";
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.     }
  135.     public function getTemplateName()
  136.     {
  137.         return "RecruitmentCampaign/_campaign_list.html.twig";
  138.     }
  139.     public function isTraitable()
  140.     {
  141.         return false;
  142.     }
  143.     public function getDebugInfo()
  144.     {
  145.         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,);
  146.     }
  147.     public function getSourceContext()
  148.     {
  149.         return new Source("{% extends \"RecruitmentCampaign/campaign.html.twig\" %}
  150. {% block campaign_content %}
  151. <div class='{{desktop(\"flex row space top\")}} {{mobile(\"\")}}'>
  152.     <div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
  153.         {% if paginator.empty %}
  154.             <h2>
  155.                 {{ 'No results found'|trans }}
  156.             </h2>
  157.         {% else %}
  158.             {% for o in paginator.results %}
  159.                 {{ include('RecruitmentCampaign/_campaign_card.html.twig', {campaign: o}) }}
  160.             {% endfor %}
  161.         {% endif %}
  162.     </div>
  163.     <aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('vt-20-in hz-15-in')}}\">
  164.         {{ include('security/_provider_login_form.html.twig') }}
  165.     </aside>
  166. </div>
  167. {% endblock %}
  168. ""RecruitmentCampaign/_campaign_list.html.twig""/home/olasoftnka/nsia-provider/templates/RecruitmentCampaign/_campaign_list.html.twig");
  169.     }
  170. }