Deprecated: Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/k/kasscaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/75/751c2191808aa07431cb2fdd3479f3c0.php line 68

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. /* @theme/meettheteam/meettheteam.html.twig */
  14. class __TwigTemplate_6c4d41d83798fe908906036fb9b26ce2 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/meettheteam/meettheteam.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/meettheteam/meettheteam.html.twig"));
  33.         // line 1
  34.         echo "
  35. <div class=\"row\">
  36.     ";
  37.         // line 3
  38.         $context['_parent'] = $context;
  39.         $context['_seq'] = twig_ensure_traversable((isset($context["teamMembers"]) || array_key_exists("teamMembers"$context) ? $context["teamMembers"] : (function () { throw new RuntimeError('Variable "teamMembers" does not exist.'3$this->source); })()));
  40.         $context['_iterated'] = false;
  41.         $context['loop'] = [
  42.           'parent' => $context['_parent'],
  43.           'index0' => 0,
  44.           'index'  => 1,
  45.           'first'  => true,
  46.         ];
  47.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  48.             $length count($context['_seq']);
  49.             $context['loop']['revindex0'] = $length 1;
  50.             $context['loop']['revindex'] = $length;
  51.             $context['loop']['length'] = $length;
  52.             $context['loop']['last'] = === $length;
  53.         }
  54.         foreach ($context['_seq'] as $context["_key"] => $context["teamMember"]) {
  55.             // line 4
  56.             echo "        <div class=\"md:col-4 col-12 mb-12\">
  57.             <a class=\"team-name\" href=\"";
  58.             // line 5
  59.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():44}(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.'5$this->source); })()), "request", [], "any"falsefalsefalse5), twig_get_attribute($this->env$this->source$context["teamMember"], "linkedPageId", [], "any"falsefalsefalse5), ["teammember_slug" => twig_get_attribute($this->env$this->source$context["teamMember"], "slug", [], "any"falsefalsefalse5)]), "html"nulltrue);
  60.             echo "\">
  61.                 <img class=\"max-w-full h-auto\" src=\"";
  62.             // line 6
  63.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():45}(("/" twig_get_attribute($this->env$this->source$context["teamMember"], "getFullImagePath", [], "any"falsefalsefalse6)), "zoomCrop"740960), "html"nulltrue);
  64.             echo "\" width=\"546\" height=\"708\" alt=\"";
  65.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["teamMember"], "title", [], "any"falsefalsefalse6), "html"nulltrue);
  66.             echo "\" loading=\"lazy\"/>
  67.                 <div class=\"p-4\" tab-index=\"0\">
  68.                     <h3 class=\"mb-0 capitalize\">";
  69.             // line 8
  70.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["teamMember"], "title", [], "any"falsefalsefalse8), "html"nulltrue);
  71.             echo "</h3>
  72.                     <p class=\"h5 mb-0 font-light text-white text-left\">";
  73.             // line 9
  74.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["teamMember"], "position", [], "any"falsefalsefalse9), "html"nulltrue);
  75.             echo "</p>
  76.                 </div>
  77.             </a>
  78.         </div>
  79.         ";
  80.             // line 13
  81.             if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse13)) {
  82.                 // line 14
  83.                 echo "        <div class=\"col-12 mb-12\">
  84.             <div class=\"team-name team-name--no-link\">
  85.                 <img class=\"max-w-full h-auto\" src=\"";
  86.                 // line 16
  87.                 echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():59}(10"image");
  88.                 echo "\" alt=\"";
  89.                 echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():59}(10"content");
  90.                 echo "\" width=\"1370\" height=\"562\" loading=\"lazy\" />
  91.                 <div class=\"p-4\" tab-index=\"0\">
  92.                     <h3 class=\"mb-0 capitalize\">";
  93.                 // line 18
  94.                 echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():59}(10"content");
  95.                 echo "</h3>
  96.                 </div>
  97.             </div>
  98.         </div>
  99.         ";
  100.             }
  101.             // line 23
  102.             echo "    ";
  103.             $context['_iterated'] = true;
  104.             ++$context['loop']['index0'];
  105.             ++$context['loop']['index'];
  106.             $context['loop']['first'] = false;
  107.             if (isset($context['loop']['length'])) {
  108.                 --$context['loop']['revindex0'];
  109.                 --$context['loop']['revindex'];
  110.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  111.             }
  112.         }
  113.         if (!$context['_iterated']) {
  114.             // line 24
  115.             echo "        <p>No team members found</p>
  116.     ";
  117.         }
  118.         $_parent $context['_parent'];
  119.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teamMember'], $context['_parent'], $context['loop']);
  120.         $context array_intersect_key($context$_parent) + $_parent;
  121.         // line 26
  122.         echo "</div>
  123. ";
  124.         // line 28
  125.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["teamMembers"]) || array_key_exists("teamMembers"$context) ? $context["teamMembers"] : (function () { throw new RuntimeError('Variable "teamMembers" does not exist.'28$this->source); })()));
  126.         echo "
  127. ";
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.     }
  133.     /**
  134.      * @codeCoverageIgnore
  135.      */
  136.     public function getTemplateName()
  137.     {
  138.         return "@theme/meettheteam/meettheteam.html.twig";
  139.     }
  140.     /**
  141.      * @codeCoverageIgnore
  142.      */
  143.     public function isTraitable()
  144.     {
  145.         return false;
  146.     }
  147.     /**
  148.      * @codeCoverageIgnore
  149.      */
  150.     public function getDebugInfo()
  151.     {
  152.         return array (  135 => 28,  131 => 26,  124 => 24,  111 => 23,  103 => 18,  96 => 16,  92 => 14,  90 => 13,  83 => 9,  79 => 8,  72 => 6,  68 => 5,  65 => 4,  47 => 3,  43 => 1,);
  153.     }
  154.     public function getSourceContext()
  155.     {
  156.         return new Source("
  157. <div class=\"row\">
  158.     {% for teamMember in teamMembers %}
  159.         <div class=\"md:col-4 col-12 mb-12\">
  160.             <a class=\"team-name\" href=\"{{ generatePath( app.request, teamMember.linkedPageId, {'teammember_slug' : teamMember.slug } ) }}\">
  161.                 <img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ teamMember.getFullImagePath, 'zoomCrop', 740, 960) }}\" width=\"546\" height=\"708\" alt=\"{{ teamMember.title }}\" loading=\"lazy\"/>
  162.                 <div class=\"p-4\" tab-index=\"0\">
  163.                     <h3 class=\"mb-0 capitalize\">{{ teamMember.title }}</h3>
  164.                     <p class=\"h5 mb-0 font-light text-white text-left\">{{ teamMember.position }}</p>
  165.                 </div>
  166.             </a>
  167.         </div>
  168.         {% if loop.last %}
  169.         <div class=\"col-12 mb-12\">
  170.             <div class=\"team-name team-name--no-link\">
  171.                 <img class=\"max-w-full h-auto\" src=\"{{ renderSetting(10, 'image') }}\" alt=\"{{ renderSetting(10, 'content') }}\" width=\"1370\" height=\"562\" loading=\"lazy\" />
  172.                 <div class=\"p-4\" tab-index=\"0\">
  173.                     <h3 class=\"mb-0 capitalize\">{{ renderSetting(10, 'content') }}</h3>
  174.                 </div>
  175.             </div>
  176.         </div>
  177.         {% endif %}
  178.     {% else %}
  179.         <p>No team members found</p>
  180.     {% endfor %}
  181. </div>
  182. {{ knp_pagination_render(teamMembers) }}
  183. ""@theme/meettheteam/meettheteam.html.twig""/var/www/html/k/kasscaffolding/templates/themes/theme/meettheteam/meettheteam.html.twig");
  184.     }
  185. }