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
<?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 ;
/* @theme/meettheteam/meettheteam.html.twig */
class __TwigTemplate_6c4d41d83798fe908906036fb9b26ce2 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> parent = false ;
$this -> blocks = [
];
}
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" , "@theme/meettheteam/meettheteam.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@theme/meettheteam/meettheteam.html.twig" ));
// line 1
echo "
<div class=\"row\">
";
// line 3
$context [ '_parent' ] = $context ;
$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 ); })()));
$context [ '_iterated' ] = false ;
$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 [ "teamMember" ]) {
// line 4
echo " <div class=\"md:col-4 col-12 mb-12\">
<a class=\"team-name\" href=\"";
// line 5
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" , false , false , false , 5 ), twig_get_attribute ( $this -> env , $this -> source , $context [ "teamMember" ], "linkedPageId" , [], "any" , false , false , false , 5 ), [ "teammember_slug" => twig_get_attribute ( $this -> env , $this -> source , $context [ "teamMember" ], "slug" , [], "any" , false , false , false , 5 )]), "html" , null , true );
echo "\">
<img class=\"max-w-full h-auto\" src=\"";
// line 6
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" , false , false , false , 6 )), "zoomCrop" , 740 , 960 ), "html" , null , true );
echo "\" width=\"546\" height=\"708\" alt=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "teamMember" ], "title" , [], "any" , false , false , false , 6 ), "html" , null , true );
echo "\" loading=\"lazy\"/>
<div class=\"p-4\" tab-index=\"0\">
<h3 class=\"mb-0 capitalize\">";
// line 8
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "teamMember" ], "title" , [], "any" , false , false , false , 8 ), "html" , null , true );
echo "</h3>
<p class=\"h5 mb-0 font-light text-white text-left\">";
// line 9
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "teamMember" ], "position" , [], "any" , false , false , false , 9 ), "html" , null , true );
echo "</p>
</div>
</a>
</div>
";
// line 13
if ( twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "last" , [], "any" , false , false , false , 13 )) {
// line 14
echo " <div class=\"col-12 mb-12\">
<div class=\"team-name team-name--no-link\">
<img class=\"max-w-full h-auto\" src=\"";
// line 16
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 59 }( 10 , "image" );
echo "\" alt=\"" ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 59 }( 10 , "content" );
echo "\" width=\"1370\" height=\"562\" loading=\"lazy\" />
<div class=\"p-4\" tab-index=\"0\">
<h3 class=\"mb-0 capitalize\">";
// line 18
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 59 }( 10 , "content" );
echo "</h3>
</div>
</div>
</div>
";
}
// line 23
echo " " ;
$context [ '_iterated' ] = true ;
++$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' ];
}
}
if (!$context [ '_iterated' ]) {
// line 24
echo " <p>No team members found</p>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'teamMember' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 26
echo "</div>
";
// line 28
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 ); })()));
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/meettheteam/meettheteam.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
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 ,);
}
public function getSourceContext ()
{
return new Source ( "
<div class=\"row\">
{% for teamMember in teamMembers %}
<div class=\"md:col-4 col-12 mb-12\">
<a class=\"team-name\" href=\"{{ generatePath( app.request, teamMember.linkedPageId, {'teammember_slug' : teamMember.slug } ) }}\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/' ~ teamMember.getFullImagePath, 'zoomCrop', 740, 960) }}\" width=\"546\" height=\"708\" alt=\"{{ teamMember.title }}\" loading=\"lazy\"/>
<div class=\"p-4\" tab-index=\"0\">
<h3 class=\"mb-0 capitalize\">{{ teamMember.title }}</h3>
<p class=\"h5 mb-0 font-light text-white text-left\">{{ teamMember.position }}</p>
</div>
</a>
</div>
{% if loop.last %}
<div class=\"col-12 mb-12\">
<div class=\"team-name team-name--no-link\">
<img class=\"max-w-full h-auto\" src=\"{{ renderSetting(10, 'image') }}\" alt=\"{{ renderSetting(10, 'content') }}\" width=\"1370\" height=\"562\" loading=\"lazy\" />
<div class=\"p-4\" tab-index=\"0\">
<h3 class=\"mb-0 capitalize\">{{ renderSetting(10, 'content') }}</h3>
</div>
</div>
</div>
{% endif %}
{% else %}
<p>No team members found</p>
{% endfor %}
</div>
{{ knp_pagination_render(teamMembers) }}
", "@theme/meettheteam/meettheteam.html.twig" , "/var/www/html/k/kasscaffolding/templates/themes/theme/meettheteam/meettheteam.html.twig" );
}
}