var/cache/dev/twig/f6/f695dfbf387a514d699d0e1831580d4d.php line 91

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. /* home.html.twig */
  14. class __TwigTemplate_f23c89502196cea86e1c061a9163c4d0 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.             'titlebox' => [$this'block_titlebox'],
  24.             'content' => [$this'block_content'],
  25.             'css' => [$this'block_css'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "template.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home.html.twig"));
  40.         // line 3
  41.         $context["desc"] = "";
  42.         // line 4
  43.         $context["menu"] = "accounts";
  44.         // line 1
  45.         $this->parent $this->loadTemplate("template.html.twig""home.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 6
  53.     public function block_titlebox($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""titlebox"));
  60.         // line 7
  61.         echo "    <div class=\"fill relative flex col middle h1\">
  62.         ";
  63.         // line 8
  64.         echo twig_get_attribute($this->env$this->source, (isset($context["static"]) || array_key_exists("static"$context) ? $context["static"] : (function () { throw new RuntimeError('Variable "static" does not exist.'8$this->source); })()), "BannerTitle", [], "any"falsefalsefalse8);
  65.         echo "
  66.     </div>
  67. ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 12
  74.     public function block_content($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  81.         // line 13
  82.         echo "    <div class='";
  83.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding vt-80-in"), "html"nulltrue);
  84.         echo " ";
  85.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("hz-15-in"), "html"nulltrue);
  86.         echo "'>
  87.         <div class='";
  88.         // line 14
  89.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("flex row space top"), "html"nulltrue);
  90.         echo "'>
  91.             <div id='article' class='w100 ";
  92.         // line 15
  93.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(""), "html"nulltrue);
  94.         echo " ";
  95.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html"nulltrue);
  96.         echo "'>
  97.                 <div class=\"";
  98.         // line 16
  99.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("h3 bottom-40"), "html"nulltrue);
  100.         echo " ";
  101.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bottom-20 h3 success bold top-5"), "html"nulltrue);
  102.         echo "\">
  103.                     ";
  104.         // line 17
  105.         echo twig_get_attribute($this->env$this->source, (isset($context["static"]) || array_key_exists("static"$context) ? $context["static"] : (function () { throw new RuntimeError('Variable "static" does not exist.'17$this->source); })()), "CampaignBlockTitle", [], "any"falsefalsefalse17);
  106.         echo "
  107.                 </div>
  108.                 ";
  109.         // line 20
  110.         $context['_parent'] = $context;
  111.         $context['_seq'] = twig_ensure_traversable((isset($context["campaigns"]) || array_key_exists("campaigns"$context) ? $context["campaigns"] : (function () { throw new RuntimeError('Variable "campaigns" does not exist.'20$this->source); })()));
  112.         $context['loop'] = [
  113.           'parent' => $context['_parent'],
  114.           'index0' => 0,
  115.           'index'  => 1,
  116.           'first'  => true,
  117.         ];
  118.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  119.             $length count($context['_seq']);
  120.             $context['loop']['revindex0'] = $length 1;
  121.             $context['loop']['revindex'] = $length;
  122.             $context['loop']['length'] = $length;
  123.             $context['loop']['last'] = === $length;
  124.         }
  125.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  126.             // line 21
  127.             echo "                    ";
  128.             echo twig_include($this->env$context"RecruitmentCampaign/_campaign_card.html.twig", ["campaign" => $context["o"]]);
  129.             echo "
  130.                 ";
  131.             ++$context['loop']['index0'];
  132.             ++$context['loop']['index'];
  133.             $context['loop']['first'] = false;
  134.             if (isset($context['loop']['length'])) {
  135.                 --$context['loop']['revindex0'];
  136.                 --$context['loop']['revindex'];
  137.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  138.             }
  139.         }
  140.         $_parent $context['_parent'];
  141.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  142.         $context array_intersect_key($context$_parent) + $_parent;
  143.         // line 23
  144.         echo "            </div>
  145.             ";
  146.         // line 24
  147.         if ( !twig_get_attribute($this->env$this->source, (isset($context["role"]) || array_key_exists("role"$context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.'24$this->source); })()), "connected", [], "any"falsefalsefalse24)) {
  148.             // line 25
  149.             echo "                <aside class=\"";
  150.             echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html"nulltrue);
  151.             echo " ";
  152.             echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("bottom-40-in"), "html"nulltrue);
  153.             echo "\">
  154.                     ";
  155.             // line 26
  156.             echo twig_include($this->env$context"security/_provider_login_form.html.twig");
  157.             echo "
  158.                 </aside>
  159.             ";
  160.         }
  161.         // line 29
  162.         echo "        </div>
  163.     </div>
  164. ";
  165.         
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  167.         
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  169.     }
  170.     // line 33
  171.     public function block_css($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  178.         // line 34
  179.         echo "    <style>
  180.         :root{
  181.             --background: white;
  182.         }
  183.     </style>
  184. ";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.     }
  190.     public function getTemplateName()
  191.     {
  192.         return "home.html.twig";
  193.     }
  194.     public function isTraitable()
  195.     {
  196.         return false;
  197.     }
  198.     public function getDebugInfo()
  199.     {
  200.         return array (  204 => 34,  194 => 33,  182 => 29,  176 => 26,  169 => 25,  167 => 24,  164 => 23,  147 => 21,  130 => 20,  124 => 17,  118 => 16,  112 => 15,  108 => 14,  101 => 13,  91 => 12,  78 => 8,  75 => 7,  65 => 6,  54 => 1,  52 => 4,  50 => 3,  37 => 1,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("{% extends \"template.html.twig\" %}
  205. {% set desc = \"\" %}
  206. {% set menu = 'accounts' %}
  207. {% block titlebox %}
  208.     <div class=\"fill relative flex col middle h1\">
  209.         {{ static.BannerTitle|raw }}
  210.     </div>
  211. {% endblock %}
  212. {% block content %}
  213.     <div class='{{desktop(\"gpadding vt-80-in\")}} {{mobile(\"hz-15-in\")}}'>
  214.         <div class='{{desktop(\"flex row space top\")}}'>
  215.             <div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
  216.                 <div class=\"{{desktop(\"h3 bottom-40\")}} {{mobile(\"bottom-20 h3 success bold top-5\")}}\">
  217.                     {{ static.CampaignBlockTitle|raw }}
  218.                 </div>
  219.                 {% for o in campaigns %}
  220.                     {{ include('RecruitmentCampaign/_campaign_card.html.twig', {campaign: o}) }}
  221.                 {% endfor %}
  222.             </div>
  223.             {% if not role.connected %}
  224.                 <aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('bottom-40-in')}}\">
  225.                     {{ include('security/_provider_login_form.html.twig') }}
  226.                 </aside>
  227.             {% endif %}
  228.         </div>
  229.     </div>
  230. {% endblock %}
  231. {% block css %}
  232.     <style>
  233.         :root{
  234.             --background: white;
  235.         }
  236.     </style>
  237. {% endblock %}
  238. ""home.html.twig""/home/olasoftnka/nsia-provider/templates/home.html.twig");
  239.     }
  240. }