var/cache/dev/twig/89/89b6c63367783e27a6a11c96c0e86a280088c81d9bf5b095906dd644521e919f.php line 39

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. /* team.html.twig */
  14. class __TwigTemplate_72d57777028a8098c03d1c637ad3db08d0cc046f5e0a84ca6d019148818562e4 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""team.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""team.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""team.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Tracol";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "
  70.     <div class=\"container-fluid teams\">
  71.         ";
  72.         // line 8
  73.         $context['_parent'] = $context;
  74.         $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); })()));
  75.         foreach ($context['_seq'] as $context["_key"] => $context["teamCategory"]) {
  76.             // line 9
  77.             echo "            <div class=\"col-lg-8 mx-auto row list-categories\">
  78.                 <div class=\"col-md-4\">
  79.                     <div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
  80.                         <div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
  81.                             <div id=\"section-1-tracol\" class=\"tracol-title\">
  82.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  83.                                     <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\"/>
  84.                                 </svg>
  85.                                 <h1 class=\"project-title\">";
  86.             // line 17
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["teamCategory"], 0, [], "any"falsefalsefalse17), "categoryName", [], "any"falsefalsefalse17), "html"nulltrue);
  88.             echo " <div class=\"separe\"></div></h1>
  89.                                 <div class=\"col-md-8 tracol-content\">";
  90.             // line 18
  91.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["teamCategory"], 0, [], "any"falsefalsefalse18), "categoryContent", [], "any"falsefalsefalse18);
  92.             echo "</div>
  93.                             </div>
  94.                         </div>
  95.                     </div>
  96.                 </div>
  97.                 <div class=\"col-md-8 row\">
  98.                     ";
  99.             // line 24
  100.             $context['_parent'] = $context;
  101.             $context['_seq'] = twig_ensure_traversable($context["teamCategory"]);
  102.             $context['_iterated'] = false;
  103.             foreach ($context['_seq'] as $context["_key"] => $context["member"]) {
  104.                 // line 25
  105.                 echo "                        <div class=\"col-md-6\">
  106.                             <div class=\"img-team\" style=\"background:
  107.                                     ";
  108.                 // line 27
  109.                 if (twig_get_attribute($this->env$this->source$context["member"], "path", [], "any"falsefalsefalse27)) {
  110.                     // line 28
  111.                     echo "                                        url(";
  112.                     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"falsefalsefalse28))), "html"nulltrue);
  113.                     echo ")no-repeat center
  114.                                     ";
  115.                 } else {
  116.                     // line 30
  117.                     echo "                                        url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
  118.                                     ";
  119.                 }
  120.                 // line 32
  121.                 echo "                                    ;background-size:cover\"></div>
  122.                             <div class=\"infos-member\">
  123.                                 <span>";
  124.                 // line 34
  125.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["member"], "fonction", [], "any"falsefalsefalse34), "html"nulltrue);
  126.                 echo "</span><br>
  127.                                 <span>";
  128.                 // line 35
  129.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["member"], "memberName", [], "any"falsefalsefalse35), "html"nulltrue);
  130.                 echo "</span>
  131.                             </div>
  132.                             <div class=\"description-team\">";
  133.                 // line 37
  134.                 echo twig_get_attribute($this->env$this->source$context["member"], "memberContent", [], "any"falsefalsefalse37);
  135.                 echo "</div>
  136.                         </div>
  137.                     ";
  138.                 $context['_iterated'] = true;
  139.             }
  140.             if (!$context['_iterated']) {
  141.                 // line 40
  142.                 echo "                        <p>Aucune personne pour le moment.</p>
  143.                     ";
  144.             }
  145.             $_parent $context['_parent'];
  146.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['member'], $context['_parent'], $context['loop']);
  147.             $context array_intersect_key($context$_parent) + $_parent;
  148.             // line 42
  149.             echo "                </div>
  150.             </div>
  151.         ";
  152.         }
  153.         $_parent $context['_parent'];
  154.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['teamCategory'], $context['_parent'], $context['loop']);
  155.         $context array_intersect_key($context$_parent) + $_parent;
  156.         // line 45
  157.         echo "    </div>
  158. ";
  159.         
  160.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  161.         
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  163.     }
  164.     public function getTemplateName()
  165.     {
  166.         return "team.html.twig";
  167.     }
  168.     public function isTraitable()
  169.     {
  170.         return false;
  171.     }
  172.     public function getDebugInfo()
  173.     {
  174.         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,);
  175.     }
  176.     public function getSourceContext()
  177.     {
  178.         return new Source("{% extends 'base.html.twig' %}
  179. {% block title %}Tracol{% endblock %}
  180. {% block body %}
  181.     <div class=\"container-fluid teams\">
  182.         {% for teamCategory in teamCategories %}
  183.             <div class=\"col-lg-8 mx-auto row list-categories\">
  184.                 <div class=\"col-md-4\">
  185.                     <div class=\"col-lg-12\" style=\"display: flex;flex-direction: column;\">
  186.                         <div class=\"col-lg-12 tracol-wrap\" style=\"display: flex;\">
  187.                             <div id=\"section-1-tracol\" class=\"tracol-title\">
  188.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  189.                                     <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\"/>
  190.                                 </svg>
  191.                                 <h1 class=\"project-title\">{{ teamCategory.0.categoryName }} <div class=\"separe\"></div></h1>
  192.                                 <div class=\"col-md-8 tracol-content\">{{ teamCategory.0.categoryContent|raw }}</div>
  193.                             </div>
  194.                         </div>
  195.                     </div>
  196.                 </div>
  197.                 <div class=\"col-md-8 row\">
  198.                     {% for member in teamCategory %}
  199.                         <div class=\"col-md-6\">
  200.                             <div class=\"img-team\" style=\"background:
  201.                                     {% if member.path %}
  202.                                         url({{ asset('uploads/images/' ~ member.path ) }})no-repeat center
  203.                                     {% else %}
  204.                                         url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
  205.                                     {% endif %}
  206.                                     ;background-size:cover\"></div>
  207.                             <div class=\"infos-member\">
  208.                                 <span>{{ member.fonction }}</span><br>
  209.                                 <span>{{ member.memberName }}</span>
  210.                             </div>
  211.                             <div class=\"description-team\">{{ member.memberContent|raw }}</div>
  212.                         </div>
  213.                     {% else %}
  214.                         <p>Aucune personne pour le moment.</p>
  215.                     {% endfor %}
  216.                 </div>
  217.             </div>
  218.         {% endfor %}
  219.     </div>
  220. {% endblock %}""team.html.twig""/home/juca-stage/sites/sym/tracol/templates/team.html.twig");
  221.     }
  222. }