var/cache/dev/twig/4a/4a8f450b8b537cb9fdbe781907b4b4f19603370469036c8b5f71bcdffbc2f3db.php line 51

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. /* diaporama/list.html.twig */
  14. class __TwigTemplate_e344a74dc99692afc938c979ca03aa104a73e76df89feee62ac0d932547c45f5 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.             'description' => [$this'block_description'],
  25.             'body' => [$this'block_body'],
  26.             'h1' => [$this'block_h1'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""diaporama/list.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""diaporama/list.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""diaporama/list.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $this->displayBlock("h1"$context$blocks);
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 5
  63.     public function block_description($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  70.         // line 6
  71.         if ((array_key_exists("lieu"$context) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'6$this->source); })()), "libelle", [], "any"falsefalsefalse6), "DEFAULT")))) {
  72.             // line 7
  73.             echo "Découvrez les différents diaporamas de l'Annuaire Enseignement Privé pour la zone ";
  74.             echo twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'7$this->source); })()), "libelle", [], "any"falsefalsefalse7);
  75.         } else {
  76.             // line 9
  77.             echo "Découvrez les différents diaporamas de l'Annuaire Enseignement Privé";
  78.         }
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  83.     }
  84.     // line 13
  85.     public function block_body($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  92.         // line 14
  93.         echo "    <section class=\"container page-diapo\">
  94.         <div id=\"breadcrumb\">
  95.             ";
  96.         // line 16
  97.         $this->loadTemplate("diaporama/_includes/breadcrumb.html.twig""diaporama/list.html.twig"16)->display(twig_to_array(["lieu" =>         // line 17
  98. (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'17$this->source); })())]));
  99.         // line 20
  100.         echo "        </div>
  101.         <div class=\"title mb-4\">";
  102.         // line 22
  103.         ob_start();
  104.         // line 23
  105.         echo "<h1>";
  106.         // line 24
  107.         $this->displayBlock('h1'$context$blocks);
  108.         // line 32
  109.         echo "</h1>
  110.             <div class=\"triangle-defaut\"></div>";
  111.         $___internal_parse_15_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  112.         // line 22
  113.         echo twig_spaceless($___internal_parse_15_);
  114.         // line 35
  115.         echo "</div>
  116.         ";
  117.         // line 36
  118.         if ( !(null === (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'36$this->source); })()))) {
  119.             // line 37
  120.             echo "        <div class=\"recherche-contexte text-left\" role=\"group\">
  121.             <a href=\"#\" onclick=\"history.back()\" class=\"liste \">
  122.                 Retour à la fiche
  123.             </a>
  124.         </div>
  125.         ";
  126.         }
  127.         // line 43
  128.         echo "        <div class=\"wrap\">
  129.             <section>
  130.                 <div class=\"diapo-list-tri\">
  131.                     ";
  132.         // line 46
  133.         if ((null === (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'46$this->source); })()))) {
  134.             // line 47
  135.             echo "                    ";
  136.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DiaporamaController::blocDiaposALaUne", ["type" => "liste"]));
  137.             // line 50
  138.             echo "
  139.                     ";
  140.         }
  141.         // line 52
  142.         echo "                    <div>
  143.                         <div class=\"w-100 d-md-block d-lg-none pb-4\">
  144.                             ";
  145.         // line 54
  146.         $this->loadTemplate("actualite-etablissement/_includes/search-options.html.twig""diaporama/list.html.twig"54)->display(twig_array_merge($context, ["type" => "mobile"]));
  147.         // line 55
  148.         echo "                        </div>
  149.                     <div>
  150.                     ";
  151.         // line 57
  152.         $context['_parent'] = $context;
  153.         $context['_seq'] = twig_ensure_traversable((isset($context["diaporamas"]) || array_key_exists("diaporamas"$context) ? $context["diaporamas"] : (function () { throw new RuntimeError('Variable "diaporamas" does not exist.'57$this->source); })()));
  154.         foreach ($context['_seq'] as $context["_key"] => $context["diaporama"]) {
  155.             // line 58
  156.             echo "                    <article class=\"p-0 ";
  157.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse58), "diapoPlus", [], "any"falsefalsefalse58)) {
  158.                 echo "bckgrnd-plus";
  159.             } else {
  160.                 echo "bckgrnd-plus";
  161.             }
  162.             echo " card-video\">
  163.                         ";
  164.             // line 59
  165.             $context["imgSrc"] = $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "photo", [], "any"falsefalsefalse59), 0, [], "array"falsefalsefalse59), "photoFile"), "diapo_list");
  166.             // line 60
  167.             echo "                        ";
  168.             if ((isset($context["imgSrc"]) || array_key_exists("imgSrc"$context) ? $context["imgSrc"] : (function () { throw new RuntimeError('Variable "imgSrc" does not exist.'60$this->source); })())) {
  169.                 // line 61
  170.                 echo "                            <div class=\"position-relative pt-0\">
  171.                                 <i class=\"i-diapo\"></i>
  172.                                 ";
  173.                 // line 63
  174.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse63), "diapoPlus", [], "any"falsefalsefalse63)) {
  175.                     // line 64
  176.                     echo "                                    <span class=\"badge-plus\"></span>
  177.                                 ";
  178.                 }
  179.                 // line 66
  180.                 echo "                                <img class=\"w-100 img-video\" src='";
  181.                 echo twig_escape_filter($this->env, (isset($context["imgSrc"]) || array_key_exists("imgSrc"$context) ? $context["imgSrc"] : (function () { throw new RuntimeError('Variable "imgSrc" does not exist.'66$this->source); })()), "html"nulltrue);
  182.                 echo "'/>
  183.                             </div>
  184.                         ";
  185.             }
  186.             // line 69
  187.             echo "                        <div class=\"content text-center\">
  188.                             <a href=\"";
  189.             // line 70
  190.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pathBuilder"]) || array_key_exists("pathBuilder"$context) ? $context["pathBuilder"] : (function () { throw new RuntimeError('Variable "pathBuilder" does not exist.'70$this->source); })()), "buildFiche", [=> twig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse70), => ["diapo-id" => twig_get_attribute($this->env$this->source$context["diaporama"], "id", [], "any"falsefalsefalse70)]], "method"falsefalsefalse70), "html"nulltrue);
  191.             echo "\" data-trace-etab=\"";
  192.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse70), "id", [], "any"falsefalsefalse70), "html_attr");
  193.             echo "\" class=\"date\">";
  194.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["diaporama"], "titre", [], "any"falsefalsefalse70), "html"nulltrue);
  195.             echo "</a>
  196.                             <p class=\"estab\">";
  197.             // line 71
  198.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse71), "denomination", [], "any"falsefalsefalse71)), "truncate", [=> 50=> "…"=> true], "method"falsefalsefalse71), "html"nulltrue);
  199.             echo "
  200.                             <br/>
  201.                             <small>";
  202.             // line 73
  203.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse73), "ville", [], "any"falsefalsefalse73), "libelle", [], "any"falsefalsefalse73), "html"nulltrue);
  204.             echo 
  205.                             ";
  206.             // line 74
  207.             if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse74), "ville", [], "any"falsefalsefalse74), "departement", [], "any"falsefalsefalse74))) {
  208.                 // line 75
  209.                 echo "                            (";
  210.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["diaporama"], "etablissement", [], "any"falsefalsefalse75), "ville", [], "any"falsefalsefalse75), "departement", [], "any"falsefalsefalse75), "id", [], "any"falsefalsefalse75), "html"nulltrue);
  211.                 echo ")
  212.                             ";
  213.             }
  214.             // line 77
  215.             echo "                            </small>
  216.                             </p>
  217.                             <span class=\"see-more\">Découvrir</span>
  218.                         </div>
  219.                     </article>
  220.                     ";
  221.         }
  222.         $_parent $context['_parent'];
  223.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['diaporama'], $context['_parent'], $context['loop']);
  224.         $context array_intersect_key($context$_parent) + $_parent;
  225.         // line 83
  226.         echo "                        </div>
  227.                     </div>
  228.                 </div>
  229.             </section>
  230.             <aside>
  231.                 ";
  232.         // line 88
  233.         $this->loadTemplate("actualite-etablissement/_includes/search-options.html.twig""diaporama/list.html.twig"88)->display(twig_array_merge($context, ["type" => "aside"]));
  234.         // line 89
  235.         echo "            </aside>
  236.         </div>
  237.     </section>
  238. ";
  239.         
  240.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  241.         
  242.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  243.     }
  244.     // line 24
  245.     public function block_h1($context, array $blocks = [])
  246.     {
  247.         $macros $this->macros;
  248.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  249.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""h1"));
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""h1"));
  252.         // line 25
  253.         if (array_key_exists("diaporamas"$context)) {
  254.             // line 26
  255.             (((=== twig_compare(twig_length_filter($this->env, (isset($context["diaporamas"]) || array_key_exists("diaporamas"$context) ? $context["diaporamas"] : (function () { throw new RuntimeError('Variable "diaporamas" does not exist.'26$this->source); })())), 1))) ? (print (twig_escape_filter($this->env, (twig_length_filter($this->env, (isset($context["diaporamas"]) || array_key_exists("diaporamas"$context) ? $context["diaporamas"] : (function () { throw new RuntimeError('Variable "diaporamas" does not exist.'26$this->source); })())) . " diaporamas"), "html"nulltrue))) : (print ("Diaporamas")));
  256.         } else {
  257.             // line 28
  258.             echo "Diaporamas";
  259.         }
  260.         // line 29
  261.         echo " de l'enseignement privé";
  262.         // line 30
  263.         if ((array_key_exists("lieu"$context) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'30$this->source); })()), "libelle", [], "any"falsefalsefalse30), "DEFAULT")))) {
  264.             echo " - ";
  265.             echo twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'30$this->source); })()), "libelle", [], "any"falsefalsefalse30);
  266.         }
  267.         
  268.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  269.         
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  271.     }
  272.     public function getTemplateName()
  273.     {
  274.         return "diaporama/list.html.twig";
  275.     }
  276.     public function isTraitable()
  277.     {
  278.         return false;
  279.     }
  280.     public function getDebugInfo()
  281.     {
  282.         return array (  292 => 30,  290 => 29,  287 => 28,  284 => 26,  282 => 25,  272 => 24,  259 => 89,  257 => 88,  250 => 83,  239 => 77,  233 => 75,  231 => 74,  227 => 73,  222 => 71,  214 => 70,  211 => 69,  204 => 66,  200 => 64,  198 => 63,  194 => 61,  191 => 60,  189 => 59,  180 => 58,  176 => 57,  172 => 55,  170 => 54,  166 => 52,  162 => 50,  159 => 47,  157 => 46,  152 => 43,  144 => 37,  142 => 36,  139 => 35,  137 => 22,  133 => 32,  131 => 24,  129 => 23,  127 => 22,  124 => 20,  122 => 17,  121 => 16,  117 => 14,  107 => 13,  96 => 9,  92 => 7,  90 => 6,  80 => 5,  61 => 3,  38 => 1,);
  283.     }
  284.     public function getSourceContext()
  285.     {
  286.         return new Source("{% extends 'base.html.twig' %}
  287. {% block title %}{{ block('h1') }}{% endblock %}
  288. {%- block description -%}
  289. {%- if lieu is defined and lieu.libelle != 'DEFAULT' -%}
  290.     Découvrez les différents diaporamas de l'Annuaire Enseignement Privé pour la zone {% autoescape false %}{{lieu.libelle}}{% endautoescape %} 
  291. {%- else -%}
  292.     Découvrez les différents diaporamas de l'Annuaire Enseignement Privé
  293. {%- endif -%}
  294. {%- endblock -%}
  295. {% block body %}
  296.     <section class=\"container page-diapo\">
  297.         <div id=\"breadcrumb\">
  298.             {% include 'diaporama/_includes/breadcrumb.html.twig' with {
  299.                 'lieu' : lieu,
  300.             }
  301.                 only %}
  302.         </div>
  303.         <div class=\"title mb-4\">
  304.             {%- apply spaceless -%}
  305.             <h1>
  306.             {%- block h1 -%}
  307.             {%- if diaporamas is defined -%}
  308.                 {{- diaporamas | length > 1 ? diaporamas | length ~ ' diaporamas' : 'Diaporamas' -}}
  309.             {%- else -%}
  310.             Diaporamas
  311.             {%- endif %} de l'enseignement privé
  312.             {%- if lieu is defined and lieu.libelle != 'DEFAULT' %} - {% autoescape false %}{{lieu.libelle}}{% endautoescape %}{%- endif -%}
  313.             {%- endblock -%}
  314.             </h1>
  315.             <div class=\"triangle-defaut\"></div>
  316.             {%- endapply -%}
  317.         </div>
  318.         {% if etablissement is not null %}
  319.         <div class=\"recherche-contexte text-left\" role=\"group\">
  320.             <a href=\"#\" onclick=\"history.back()\" class=\"liste \">
  321.                 Retour à la fiche
  322.             </a>
  323.         </div>
  324.         {% endif %}
  325.         <div class=\"wrap\">
  326.             <section>
  327.                 <div class=\"diapo-list-tri\">
  328.                     {% if etablissement is null %}
  329.                     {{ render(controller(
  330.                         'App\\\\Controller\\\\DiaporamaController::blocDiaposALaUne',
  331.                         { type:'liste' }
  332.                     )) }}
  333.                     {% endif %}
  334.                     <div>
  335.                         <div class=\"w-100 d-md-block d-lg-none pb-4\">
  336.                             {% include 'actualite-etablissement/_includes/search-options.html.twig' with { type: 'mobile'} %}
  337.                         </div>
  338.                     <div>
  339.                     {% for diaporama in diaporamas %}
  340.                     <article class=\"p-0 {% if diaporama.etablissement.diapoPlus %}bckgrnd-plus{% else %}bckgrnd-plus{% endif%} card-video\">
  341.                         {% set imgSrc = vich_uploader_asset(diaporama.photo[0], 'photoFile')|imagine_filter('diapo_list') %}
  342.                         {% if imgSrc %}
  343.                             <div class=\"position-relative pt-0\">
  344.                                 <i class=\"i-diapo\"></i>
  345.                                 {% if diaporama.etablissement.diapoPlus %}
  346.                                     <span class=\"badge-plus\"></span>
  347.                                 {% endif %}
  348.                                 <img class=\"w-100 img-video\" src='{{imgSrc}}'/>
  349.                             </div>
  350.                         {% endif %}
  351.                         <div class=\"content text-center\">
  352.                             <a href=\"{{ pathBuilder.buildFiche(diaporama.etablissement,{'diapo-id': diaporama.id}) }}\" data-trace-etab=\"{{ diaporama.etablissement.id | e('html_attr') }}\" class=\"date\">{{diaporama.titre }}</a>
  353.                             <p class=\"estab\">{{ diaporama.etablissement.denomination | u.truncate(50, '…', true)}}
  354.                             <br/>
  355.                             <small>{{ diaporama.etablissement.ville.libelle }} 
  356.                             {% if diaporama.etablissement.ville.departement is not null %}
  357.                             ({{ diaporama.etablissement.ville.departement.id }})
  358.                             {% endif %}
  359.                             </small>
  360.                             </p>
  361.                             <span class=\"see-more\">Découvrir</span>
  362.                         </div>
  363.                     </article>
  364.                     {% endfor %}
  365.                         </div>
  366.                     </div>
  367.                 </div>
  368.             </section>
  369.             <aside>
  370.                 {% include 'actualite-etablissement/_includes/search-options.html.twig' with { type: 'aside'} %}
  371.             </aside>
  372.         </div>
  373.     </section>
  374. {% endblock %}
  375. ""diaporama/list.html.twig""/app/templates/diaporama/list.html.twig");
  376.     }
  377. }