<?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;
/* team.html.twig */
class __TwigTemplate_72d57777028a8098c03d1c637ad3db08d0cc046f5e0a84ca6d019148818562e4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "team.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "team.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "team.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Tracol";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "
<div class=\"container-fluid teams\">
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["teamCategories"]) || array_key_exists("teamCategories", $context) ? $context["teamCategories"] : (function () { throw new RuntimeError('Variable "teamCategories" does not exist.', 8, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["teamCategory"]) {
// line 9
echo " <div class=\"col-lg-8 mx-auto row list-categories\">
<div class=\"col-md-4\">
<div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
<div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
<div id=\"section-1-tracol\" class=\"tracol-title\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["teamCategory"], 0, [], "any", false, false, false, 17), "categoryName", [], "any", false, false, false, 17), "html", null, true);
echo " <div class=\"separe\"></div></h1>
<div class=\"col-md-8 tracol-content\">";
// line 18
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["teamCategory"], 0, [], "any", false, false, false, 18), "categoryContent", [], "any", false, false, false, 18);
echo "</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8 row\">
";
// line 24
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["teamCategory"]);
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["member"]) {
// line 25
echo " <div class=\"col-md-6\">
<div class=\"img-team\" style=\"background:
";
// line 27
if (twig_get_attribute($this->env, $this->source, $context["member"], "path", [], "any", false, false, false, 27)) {
// line 28
echo " url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" . twig_get_attribute($this->env, $this->source, $context["member"], "path", [], "any", false, false, false, 28))), "html", null, true);
echo ")no-repeat center
";
} else {
// line 30
echo " url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
";
}
// line 32
echo " ;background-size:cover\"></div>
<div class=\"infos-member\">
<span>";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["member"], "fonction", [], "any", false, false, false, 34), "html", null, true);
echo "</span><br>
<span>";
// line 35
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["member"], "memberName", [], "any", false, false, false, 35), "html", null, true);
echo "</span>
</div>
<div class=\"description-team\">";
// line 37
echo twig_get_attribute($this->env, $this->source, $context["member"], "memberContent", [], "any", false, false, false, 37);
echo "</div>
</div>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 40
echo " <p>Aucune personne pour le moment.</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['member'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " </div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teamCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 45
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "team.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 176 => 45, 168 => 42, 161 => 40, 153 => 37, 148 => 35, 144 => 34, 140 => 32, 136 => 30, 130 => 28, 128 => 27, 124 => 25, 119 => 24, 110 => 18, 106 => 17, 96 => 9, 92 => 8, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Tracol{% endblock %}
{% block body %}
<div class=\"container-fluid teams\">
{% for teamCategory in teamCategories %}
<div class=\"col-lg-8 mx-auto row list-categories\">
<div class=\"col-md-4\">
<div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
<div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
<div id=\"section-1-tracol\" class=\"tracol-title\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
<path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
</svg>
<h1 class=\"project-title\">{{ teamCategory.0.categoryName }} <div class=\"separe\"></div></h1>
<div class=\"col-md-8 tracol-content\">{{ teamCategory.0.categoryContent|raw }}</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8 row\">
{% for member in teamCategory %}
<div class=\"col-md-6\">
<div class=\"img-team\" style=\"background:
{% if member.path %}
url({{ asset('uploads/images/' ~ member.path ) }})no-repeat center
{% else %}
url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
{% endif %}
;background-size:cover\"></div>
<div class=\"infos-member\">
<span>{{ member.fonction }}</span><br>
<span>{{ member.memberName }}</span>
</div>
<div class=\"description-team\">{{ member.memberContent|raw }}</div>
</div>
{% else %}
<p>Aucune personne pour le moment.</p>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}", "team.html.twig", "/home/juca-stage/sites/sym/tracol/templates/team.html.twig");
}
}