var/cache/dev/twig/b2/b2f7dfe3ba0737be9817be48813274e1e122cd4f60d7a95a7850b411fef77655.php line 55

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. /* Default/members.html.twig */
  14. class __TwigTemplate_7d469ec3009be9d8a12ba2a676a4c54f88bba753fe0964962a88be8e9213461e 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 5
  29.         return "Default/base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/members.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/members.html.twig"));
  38.         // line 1
  39.         $context["title"] = (((isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })()), "label", [], "any"falsefalsefalse1)) : ("Comité de direction"));
  40.         // line 2
  41.         $context["menu"] = "about";
  42.         // line 3
  43.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/members.html.twig"3)->unwrap();
  44.         // line 5
  45.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/members.html.twig"5);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 7
  53.     public function block_content($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  60.         // line 8
  61.         echo "<div class='gpadding ";
  62.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-60-in"]), "html"nulltrue);
  63.         echo " ";
  64.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-30-in"]), "html"nulltrue);
  65.         echo " '>
  66.     ";
  67.         // line 10
  68.         $this->loadTemplate("Default/filter.html.twig""Default/members.html.twig"10)->display(twig_array_merge($context, ["placeholder" => "Rechercher une personne ici...""target" => ".member""search" => true]));
  69.         // line 11
  70.         echo "
  71.     <div class='articles ";
  72.         // line 12
  73.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space wrap"]), "html"nulltrue);
  74.         echo " ";
  75.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html"nulltrue);
  76.         echo "'>
  77.         ";
  78.         // line 13
  79.         $context['_parent'] = $context;
  80.         $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'13$this->source); })()));
  81.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  82.             // line 14
  83.             echo "        ";
  84.             echo twig_call_macro($macros["macros"], "macro_member", [$context["o"]], 14$context$this->getSourceContext());
  85.             echo "
  86.         ";
  87.         }
  88.         $_parent $context['_parent'];
  89.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  90.         $context array_intersect_key($context$_parent) + $_parent;
  91.         // line 16
  92.         echo "        ";
  93.         if ((call_user_func_array($this->env->getFunction('isDesktop')->getCallable(), []) && (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'16$this->source); })())) % 3))) {
  94.             // line 17
  95.             echo "        ";
  96.             $context['_parent'] = $context;
  97.             $context['_seq'] = twig_ensure_traversable(range(1, (- (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'17$this->source); })())) % 3))));
  98.             foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  99.                 // line 18
  100.                 echo "        <i class=\"third-20\"></i>
  101.         ";
  102.             }
  103.             $_parent $context['_parent'];
  104.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  105.             $context array_intersect_key($context$_parent) + $_parent;
  106.             // line 20
  107.             echo "        ";
  108.         }
  109.         // line 21
  110.         echo "    </div>
  111.     <div class='";
  112.         // line 22
  113.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html"nulltrue);
  114.         echo "'>
  115.     ";
  116.         // line 23
  117.         $this->loadTemplate("Default/counter.html.twig""Default/members.html.twig"23)->display(twig_array_merge($context, ["expanded" => true]));
  118.         // line 24
  119.         echo "    </div>
  120. </div>
  121. ";
  122.         
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  124.         
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  126.     }
  127.     public function getTemplateName()
  128.     {
  129.         return "Default/members.html.twig";
  130.     }
  131.     public function isTraitable()
  132.     {
  133.         return false;
  134.     }
  135.     public function getDebugInfo()
  136.     {
  137.         return array (  134 => 24,  132 => 23,  128 => 22,  125 => 21,  122 => 20,  115 => 18,  110 => 17,  107 => 16,  98 => 14,  94 => 13,  88 => 12,  85 => 11,  83 => 10,  75 => 8,  65 => 7,  54 => 5,  52 => 3,  50 => 2,  48 => 1,  35 => 5,);
  138.     }
  139.     public function getSourceContext()
  140.     {
  141.         return new Source("{% set title = cat ? cat.label : \"Comité de direction\" %}
  142. {% set menu = 'about' %}
  143. {% import \"Default/macros.html.twig\" as macros %}
  144. {% extends 'Default/base.html.twig' %}
  145. {% block content %}
  146. <div class='gpadding {{desktop(\"vt-60-in\")}} {{mobile(\"vt-30-in\")}} '>
  147.     {% include(\"Default/filter.html.twig\") with {placeholder: \"Rechercher une personne ici...\", target:\".member\", search:true} %}
  148.     <div class='articles {{desktop(\"flex row space wrap\")}} {{mobile(\"\")}}'>
  149.         {% for o in list %}
  150.         {{macros.member(o)}}
  151.         {% endfor %}
  152.         {% if isDesktop() and (list|length % 3) %}
  153.         {% for o in 1..(3 - list|length % 3) %}
  154.         <i class=\"third-20\"></i>
  155.         {% endfor %}
  156.         {% endif %}
  157.     </div>
  158.     <div class='{{desktop(\"\")}}'>
  159.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  160.     </div>
  161. </div>
  162. {% endblock %}
  163. ""Default/members.html.twig""/home/adminroot/www/templates/Default/members.html.twig");
  164.     }
  165. }