var/cache/dev/twig/9d/9d18f1871bc0cb839254494143918178.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* school/roomList.html.twig */
  16. class __TwigTemplate_726fd600224008dd4083ec5d073d3561 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'name' => [$this'block_name'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "layout/frontEndLayout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""school/roomList.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""school/roomList.html.twig"));
  44.         $this->parent $this->loadTemplate("layout/frontEndLayout.html.twig""school/roomList.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_name(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name"));
  62.         // line 4
  63.         yield "    Classrooms of Bethesda 
  64.     
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.         yield from [];
  71.     }
  72.     // line 8
  73.     /**
  74.      * @return iterable<null|scalar|\Stringable>
  75.      */
  76.     public function block_body(array $context, array $blocks = []): iterable
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  83.         // line 9
  84.         yield "
  85.     <div id=\"overviews\" class=\"section wb\">
  86.         <div class=\"container\">
  87.             <div class=\"section-title row text-center\">
  88.                 <div class=\"col-md-8 offset-md-2\">
  89.                     <h1 class=\"card-title text-center\">
  90.                         Liste des classes  et resultats aux examens officiels 2022-2023  
  91.                     </h1>
  92.                 </div>
  93.             </div>
  94.             <!-- end title -->
  95.             <hr class=\"invis\">
  96.                             ";
  97.         // line 22
  98.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["rooms"]) || array_key_exists("rooms"$context) ? $context["rooms"] : (function () { throw new RuntimeError('Variable "rooms" does not exist.'22$this->source); })())) > 0)) {
  99.             // line 23
  100.             yield "                                <div id=\"teachers\" class=\"section wb\">
  101.                                 ";
  102.             // line 25
  103.             $context['_parent'] = $context;
  104.             $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::batch((isset($context["rooms"]) || array_key_exists("rooms"$context) ? $context["rooms"] : (function () { throw new RuntimeError('Variable "rooms" does not exist.'25$this->source); })()), 4));
  105.             foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
  106.                 // line 26
  107.                 yield "                                <div class=\"row\">
  108.                                     ";
  109.                 // line 27
  110.                 $context['_parent'] = $context;
  111.                 $context['_seq'] = CoreExtension::ensureTraversable($context["row"]);
  112.                 foreach ($context['_seq'] as $context["_key"] => $context["room"]) {
  113.                     // line 28
  114.                     yield "                                        <div class=\"col-lg-4 col-md-6 col-12\">
  115.                                                     <div class=\"course-item\">
  116.                                                             <div class=\"image-blog\">
  117.                                                                     ";
  118.                     // line 31
  119.                     if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse31), Twig\Extension\CoreExtension::keys((isset($context["mainTeachersMap"]) || array_key_exists("mainTeachersMap"$context) ? $context["mainTeachersMap"] : (function () { throw new RuntimeError('Variable "mainTeachersMap" does not exist.'31$this->source); })())))) {
  120.                         // line 32
  121.                         yield "                                                                 <img
  122.                                                                     src=\"";
  123.                         // line 33
  124.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["mainTeachersMap"]) || array_key_exists("mainTeachersMap"$context) ? $context["mainTeachersMap"] : (function () { throw new RuntimeError('Variable "mainTeachersMap" does not exist.'33$this->source); })()), CoreExtension::getAttribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse33), [], "array"falsefalsefalse33), "avatar", [75], "method"falsefalsefalse33), "html"nulltrue);
  125.                         yield "\" alt=\"\" class=\"img-fluid\"/>
  126.                                                                
  127.                                                                 ";
  128.                     } else {
  129.                         // line 36
  130.                         yield "                                                                <img src=\"";
  131.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/teacher_default.png"), "html"nulltrue);
  132.                         yield "\" alt=\"\" class=\"img-fluid\">
  133.                                                                 ";
  134.                     }
  135.                     // line 38
  136.                     yield "                                                            </div>
  137.                                                             <div class=\"course-br\">
  138.                                                                 <div class=\"course-title\">
  139.                                                                     <h2>
  140.                                                                         <a href=\"#\" title=\"\">
  141.                                                                             ";
  142.                     // line 43
  143.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["room"], "name", [], "any"falsefalsefalse43), "html"nulltrue);
  144.                     yield "
  145.                                                                         </a>
  146.                                                                     </h2>
  147.                                                                 </div>
  148.                                                             
  149.                                                                 ";
  150.                     // line 48
  151.                     if (CoreExtension::getAttribute($this->env$this->source$context["room"], "apc", [], "any"falsefalsefalse48)) {
  152.                         // line 49
  153.                         yield "                                                                    ";
  154.                         $context["success"] = 0;
  155.                         // line 50
  156.                         yield "                                                                    ";
  157.                         $context["candidats"] = 0;
  158.                         // line 51
  159.                         yield "                                                                    <ul class=\"list-group\">
  160.                                                                     ";
  161.                         // line 52
  162.                         $context['_parent'] = $context;
  163.                         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["subscriptions"]) || array_key_exists("subscriptions"$context) ? $context["subscriptions"] : (function () { throw new RuntimeError('Variable "subscriptions" does not exist.'52$this->source); })()));
  164.                         foreach ($context['_seq'] as $context["_key"] => $context["subscription"]) {
  165.                             // line 53
  166.                             yield "                                                                    
  167.                                                                         ";
  168.                             // line 54
  169.                             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "classRoom", [], "any"falsefalsefalse54), "id", [], "any"falsefalsefalse54) == CoreExtension::getAttribute($this->env$this->source$context["room"], "id", [], "any"falsefalsefalse54))) {
  170.                                 // line 55
  171.                                 yield "                                                                            ";
  172.                                 $context["candidats"] = ((isset($context["candidats"]) || array_key_exists("candidats"$context) ? $context["candidats"] : (function () { throw new RuntimeError('Variable "candidats" does not exist.'55$this->source); })()) + 1);
  173.                                 // line 56
  174.                                 yield "                                                                            ";
  175.                                 if ((CoreExtension::getAttribute($this->env$this->source$context["subscription"], "officialExamResult", [], "any"falsefalsefalse56) != "0")) {
  176.                                     // line 57
  177.                                     yield "                                                                                ";
  178.                                     $context["success"] = ((isset($context["success"]) || array_key_exists("success"$context) ? $context["success"] : (function () { throw new RuntimeError('Variable "success" does not exist.'57$this->source); })()) + 1);
  179.                                     // line 58
  180.                                     yield "                                                                            ";
  181.                                 }
  182.                                 // line 59
  183.                                 yield "                                                                            <li class=\"list-group-item d-flex justify-content-between align-items-center row m-1\">
  184.                                                                                 <div class=\"col-3\">
  185.                                                                                 <img src=\"";
  186.                                 // line 61
  187.                                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse61), "imageName", [], "any"falsefalsefalse61)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("assets/images/student/" CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse61), "imageName", [], "any"falsefalsefalse61)))) : (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse61), "gender", [], "any"falsefalsefalse61)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/student/female-default-avatar.jpg")) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/student/male-default-avatar.jpg"))))), "html"nulltrue);
  188.                                 yield "\" alt=\"";
  189.                                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse61), "lastname", [], "any"falsefalsefalse61), "html"nulltrue);
  190.                                 yield "\" class=\"img-fluid rounded-start\">
  191.                                                                                 </div>
  192.                                                                                 <div class=\"col-3 \">
  193.                                                                                 
  194.                                                                                     <h5> ";
  195.                                 // line 65
  196.                                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse65), "lastname", [], "any"falsefalsefalse65)) . Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["subscription"], "student", [], "any"falsefalsefalse65), "firstname", [], "any"falsefalsefalse65))), "html"nulltrue);
  197.                                 yield " </h5>
  198.                                                                                 
  199.                                                                                 </div>
  200.                                                                                 <div class=\"col-3 \">
  201.                                                                                 
  202.                                                                                         <h5 class=\"text-muted\"><b>";
  203.                                 // line 70
  204.                                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["subscription"], "verbalOfficialExamResult", [], "any"falsefalsefalse70)), "html"nulltrue);
  205.                                 yield "</b></h5>
  206.                                                                                 
  207.                                                                                 </div>
  208.                                                                             </li>                                                               
  209.                                                                         ";
  210.                             }
  211.                             // line 75
  212.                             yield "                                                                    ";
  213.                         }
  214.                         $_parent $context['_parent'];
  215.                         unset($context['_seq'], $context['_key'], $context['subscription'], $context['_parent']);
  216.                         $context array_intersect_key($context$_parent) + $_parent;
  217.                         // line 76
  218.                         yield "                                                                    </ul>
  219.                                                                 
  220.                                                                     <div class=\"course-rating text-center\">
  221.                                                                         ";
  222.                         // line 79
  223.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((Twig\Extension\CoreExtension::round(((100 * (isset($context["success"]) || array_key_exists("success"$context) ? $context["success"] : (function () { throw new RuntimeError('Variable "success" does not exist.'79$this->source); })())) / (isset($context["candidats"]) || array_key_exists("candidats"$context) ? $context["candidats"] : (function () { throw new RuntimeError('Variable "candidats" does not exist.'79$this->source); })())), 2"floor") . "%"), "html"nulltrue);
  224.                         yield "
  225.                                                                                                                                                                                         
  226.                                                                                                                                     
  227.                                                                         ";
  228.                         // line 91
  229.                         yield "                                                                    
  230.                                                                     </div>
  231.                                                                 ";
  232.                     }
  233.                     // line 94
  234.                     yield "                                                            </div>
  235.                                                             <div class=\"course-meta-bot\">
  236.                                                                 <ul>
  237.                                                                     <li>
  238.                                                                         <i class=\"fa fa-book\" aria-hidden=\"true\"></i>
  239.                                                                         ";
  240.                     // line 99
  241.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->pluralize(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["room"], "modules", [], "any"falsefalsefalse99)), "Module""Modules"), "html"nulltrue);
  242.                     yield "
  243.                                                                     </li>
  244.                                                                 </ul>
  245.                                                             </div>
  246.                                                     </div>  
  247.                                         </div>
  248.                                     <!-- end row -->
  249.                                     ";
  250.                 }
  251.                 $_parent $context['_parent'];
  252.                 unset($context['_seq'], $context['_key'], $context['room'], $context['_parent']);
  253.                 $context array_intersect_key($context$_parent) + $_parent;
  254.                 // line 107
  255.                 yield "                                </div>
  256.                                 ";
  257.             }
  258.             $_parent $context['_parent'];
  259.             unset($context['_seq'], $context['_key'], $context['row'], $context['_parent']);
  260.             $context array_intersect_key($context$_parent) + $_parent;
  261.             // line 109
  262.             yield "                                <div class=\"navigation  text-center h3 m-5\">
  263.                                     ";
  264.             // line 110
  265.             yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["rooms"]) || array_key_exists("rooms"$context) ? $context["rooms"] : (function () { throw new RuntimeError('Variable "rooms" does not exist.'110$this->source); })()));
  266.             yield "
  267.                                 </div>
  268.                                 <!-- end container -->
  269.                                 ";
  270.         } else {
  271.             // line 114
  272.             yield "                                    <p class=\"mt-5 h1 text-center\">
  273.                                         No classroom yet.   \t
  274.                                                                         
  275.                                         ";
  276.             // line 117
  277.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  278.                 // line 118
  279.                 yield "                                            <a href=\"";
  280.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_classrooms_new");
  281.                 yield "\">
  282.                                                 Be the first! 
  283.                                                                                     
  284.                                             </a>
  285.                                         ";
  286.             }
  287.             // line 123
  288.             yield "                                    </p>
  289.                                 ";
  290.         }
  291.         // line 125
  292.         yield "
  293.                  
  294.                 </div>
  295.             </div>
  296.         ";
  297.         
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  299.         
  300.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  301.         yield from [];
  302.     }
  303.     /**
  304.      * @codeCoverageIgnore
  305.      */
  306.     public function getTemplateName(): string
  307.     {
  308.         return "school/roomList.html.twig";
  309.     }
  310.     /**
  311.      * @codeCoverageIgnore
  312.      */
  313.     public function isTraitable(): bool
  314.     {
  315.         return false;
  316.     }
  317.     /**
  318.      * @codeCoverageIgnore
  319.      */
  320.     public function getDebugInfo(): array
  321.     {
  322.         return array (  313 => 125,  309 => 123,  300 => 118,  298 => 117,  293 => 114,  286 => 110,  283 => 109,  276 => 107,  262 => 99,  255 => 94,  250 => 91,  244 => 79,  239 => 76,  233 => 75,  225 => 70,  217 => 65,  208 => 61,  204 => 59,  201 => 58,  198 => 57,  195 => 56,  192 => 55,  190 => 54,  187 => 53,  183 => 52,  180 => 51,  177 => 50,  174 => 49,  172 => 48,  164 => 43,  157 => 38,  151 => 36,  145 => 33,  142 => 32,  140 => 31,  135 => 28,  131 => 27,  128 => 26,  124 => 25,  120 => 23,  118 => 22,  103 => 9,  90 => 8,  77 => 4,  64 => 3,  41 => 1,);
  323.     }
  324.     public function getSourceContext(): Source
  325.     {
  326.         return new Source("{% extends 'layout/frontEndLayout.html.twig' %}
  327. {% block name %}
  328.     Classrooms of Bethesda 
  329.     
  330. {% endblock %}
  331. {% block body %}
  332.     <div id=\"overviews\" class=\"section wb\">
  333.         <div class=\"container\">
  334.             <div class=\"section-title row text-center\">
  335.                 <div class=\"col-md-8 offset-md-2\">
  336.                     <h1 class=\"card-title text-center\">
  337.                         Liste des classes  et resultats aux examens officiels 2022-2023  
  338.                     </h1>
  339.                 </div>
  340.             </div>
  341.             <!-- end title -->
  342.             <hr class=\"invis\">
  343.                             {% if  rooms|length > 0 %}
  344.                                 <div id=\"teachers\" class=\"section wb\">
  345.                                 {% for row in rooms|batch(4) %}
  346.                                 <div class=\"row\">
  347.                                     {% for room in row %}
  348.                                         <div class=\"col-lg-4 col-md-6 col-12\">
  349.                                                     <div class=\"course-item\">
  350.                                                             <div class=\"image-blog\">
  351.                                                                     {% if room.id in mainTeachersMap|keys %}
  352.                                                                  <img
  353.                                                                     src=\"{{  mainTeachersMap[room.id].avatar(75) }}\" alt=\"\" class=\"img-fluid\"/>
  354.                                                                
  355.                                                                 {% else %}
  356.                                                                 <img src=\"{{ asset('assets/images/teacher_default.png') }}\" alt=\"\" class=\"img-fluid\">
  357.                                                                 {% endif %}
  358.                                                             </div>
  359.                                                             <div class=\"course-br\">
  360.                                                                 <div class=\"course-title\">
  361.                                                                     <h2>
  362.                                                                         <a href=\"#\" title=\"\">
  363.                                                                             {{ room.name }}
  364.                                                                         </a>
  365.                                                                     </h2>
  366.                                                                 </div>
  367.                                                             
  368.                                                                 {% if  room.apc %}
  369.                                                                     {% set success = 0 %}
  370.                                                                     {% set candidats = 0 %}
  371.                                                                     <ul class=\"list-group\">
  372.                                                                     {% for subscription in subscriptions %}
  373.                                                                     
  374.                                                                         {% if(subscription.classRoom.id == room.id) %}
  375.                                                                             {% set candidats = candidats + 1 %}
  376.                                                                             {% if subscription.officialExamResult != \"0\" %}
  377.                                                                                 {% set success = success + 1 %}
  378.                                                                             {% endif %}
  379.                                                                             <li class=\"list-group-item d-flex justify-content-between align-items-center row m-1\">
  380.                                                                                 <div class=\"col-3\">
  381.                                                                                 <img src=\"{{ (subscription.student.imageName ? asset('assets/images/student/'~ subscription.student.imageName ) : (subscription.student.gender ? asset('assets/images/student/female-default-avatar.jpg') : asset('assets/images/student/male-default-avatar.jpg'))) }}\" alt=\"{{ subscription.student.lastname }}\" class=\"img-fluid rounded-start\">
  382.                                                                                 </div>
  383.                                                                                 <div class=\"col-3 \">
  384.                                                                                 
  385.                                                                                     <h5> {{subscription.student.lastname|title ~ subscription.student.firstname|title}} </h5>
  386.                                                                                 
  387.                                                                                 </div>
  388.                                                                                 <div class=\"col-3 \">
  389.                                                                                 
  390.                                                                                         <h5 class=\"text-muted\"><b>{{subscription.verbalOfficialExamResult|lower}}</b></h5>
  391.                                                                                 
  392.                                                                                 </div>
  393.                                                                             </li>                                                               
  394.                                                                         {% endif %}
  395.                                                                     {% endfor %}
  396.                                                                     </ul>
  397.                                                                 
  398.                                                                     <div class=\"course-rating text-center\">
  399.                                                                         {{ (100 * success / candidats)|round(2, 'floor') ~ \"%\"}}
  400.                                                                                                                                                                                         
  401.                                                                                                                                     
  402.                                                                         {#<i class=\"fa fa-star\"></i>
  403.                                                                         <i class=\"fa fa-star\"></i>
  404.                                                                         <i class=\"fa fa-star\"></i>
  405.                                                                         <i class=\"fa fa-star\"></i>
  406.                                                                         {% if success == candidats %}
  407.                                                                                     <i class=\"fa fa-star\"></i>
  408.                                                                                 {% else %}
  409.                                                                                     <i class=\"fa fa-star-half\"></i>
  410.                                                                         {% endif %}#}
  411.                                                                     
  412.                                                                     </div>
  413.                                                                 {% endif %}
  414.                                                             </div>
  415.                                                             <div class=\"course-meta-bot\">
  416.                                                                 <ul>
  417.                                                                     <li>
  418.                                                                         <i class=\"fa fa-book\" aria-hidden=\"true\"></i>
  419.                                                                         {{ pluralize(room.modules|length, 'Module' , 'Modules') }}
  420.                                                                     </li>
  421.                                                                 </ul>
  422.                                                             </div>
  423.                                                     </div>  
  424.                                         </div>
  425.                                     <!-- end row -->
  426.                                     {% endfor %}
  427.                                 </div>
  428.                                 {% endfor %}
  429.                                 <div class=\"navigation  text-center h3 m-5\">
  430.                                     {{ knp_pagination_render(rooms) }}
  431.                                 </div>
  432.                                 <!-- end container -->
  433.                                 {% else %}
  434.                                     <p class=\"mt-5 h1 text-center\">
  435.                                         No classroom yet.   \t
  436.                                                                         
  437.                                         {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
  438.                                             <a href=\"{{ path('admin_classrooms_new') }}\">
  439.                                                 Be the first! 
  440.                                                                                     
  441.                                             </a>
  442.                                         {% endif %}
  443.                                     </p>
  444.                                 {% endif %}
  445.                  
  446.                 </div>
  447.             </div>
  448.         {% endblock %}
  449.         ""school/roomList.html.twig""/var/www/prod/current/templates/school/roomList.html.twig");
  450.     }
  451. }