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