protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"UTF-8\">\n    <title>AGeCo | Calendrier des congés</title>\n    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>\n    ";
     // line 7
     $this->displayBlock('stylesheet', $context, $blocks);
     // line 37
     echo "  </head>\n  <body class=\"skin-blue\">\n    <div class=\"wrapper\">\n        ";
     // line 40
     if (!array_key_exists("month", $context)) {
         // line 41
         echo "            ";
         $context["month"] = twig_date_format_filter($this->env, "now", "m");
         // line 42
         echo "            ";
         $context["year"] = twig_date_format_filter($this->env, "now", "Y");
         // line 43
         echo "        ";
     }
     // line 44
     echo "      ";
     echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("OCAgentBundle:Default:menu"));
     echo "\n      <!-- Right side column. Contains the navbar and content of the page -->\n      <div class=\"content-wrapper\">\n        <!-- Content Header (Page header) -->\n        <section class=\"content-header \">\n          <h1>\n            Vision CLA\n            <small><span id=\"mois\">";
     // line 51
     echo twig_escape_filter($this->env, $this->getContext($context, "month"), "html", null, true);
     echo "</span> - <span id=\"annee\">";
     echo twig_escape_filter($this->env, $this->getContext($context, "year"), "html", null, true);
     echo "</span></small>\n            <div class=\"badge hidden-print\" ><a href=\"javascript:window.print()\"><i style=\"color:white\"class=\"fa fa-print\"></i></a></div>\n          </h1>\n          <ol class=\"breadcrumb hidden-print\">\n            <li><a href=\"#\"><i class=\"fa fa-dashboard\"></i> Home</a></li>\n            <li class=\"active\">Vision CLA</li>\n          </ol>\n        </section>\n\n        <!-- Main content -->\n        <section class=\"content\" >\n          <div class=\"row\">\n            <div class=\"col-md-9\">\n               <div class=\"box\"  style=\"padding:15px; min-width: 1100px\" >\n                <div class=\"box-body no-padding \">\n                      ";
     // line 66
     echo $this->env->getExtension('form')->renderer->renderBlock($this->getContext($context, "form"), 'form_start');
     echo "\n                        ";
     // line 68
     echo "                        ";
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'errors');
     echo "\n                        <div class=\"form-group\">\n                          ";
     // line 70
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "month", array()), 'errors');
     echo "\n                          <div class=\"col-md-2\">\n                            ";
     // line 72
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "month", array()), 'widget', array("attr" => array("class" => "form-control form-control-static ")));
     echo "\n                          </div>\n                        </div>\n                          ";
     // line 75
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "year", array()), 'errors');
     echo "\n                          <div class=\"col-md-2\">\n                            ";
     // line 77
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "year", array()), 'widget', array("attr" => array("class" => "form-control form-control-static")));
     echo "\n                          </div>\n                        <div class=\"form-group\">\n                          <div class=\"col-xs-2\">\n                            ";
     // line 81
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "AllerA", array()), 'widget', array("attr" => array("class" => "btn btn-primary btn-flat")));
     echo "\n                          </div>\n                        </div>\n                          ";
     // line 84
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'rest');
     echo "\n                    </form>\n                    <br>&nbsp;\n                    <br>&nbsp;\n                    <table>\n                        <tr>\n                            <td style ></td>\n                    ";
     // line 91
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "Categories"));
     foreach ($context['_seq'] as $context["key"] => $context["categorie"]) {
         if ($this->getAttribute($context["categorie"], "id", array()) != 9) {
             // line 92
             echo "                        <td style=\"background-color: ";
             if (twig_length_filter($this->env, $this->getAttribute($context["categorie"], "color", array())) == 6) {
                 echo "#";
             }
             echo twig_escape_filter($this->env, $this->getAttribute($context["categorie"], "color", array()), "html", null, true);
             echo ";\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n                        <td>&nbsp;&nbsp;";
             // line 93
             echo twig_escape_filter($this->env, $this->getAttribute($context["categorie"], "CategoryName", array()), "html", null, true);
             echo "&nbsp;&nbsp;&nbsp;&nbsp;</td>\n                        ";
             // line 94
             if ($context["key"] / 4 == 1) {
                 // line 95
                 echo "                        </tr>\n                        <tr>\n                            <td></td>\n                        ";
             }
             // line 99
             echo "                    ";
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['key'], $context['categorie'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 100
     echo "                    ";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "Categorieshsf"));
     foreach ($context['_seq'] as $context["key"] => $context["categoriehsf"]) {
         // line 101
         echo "                        <td style=\"background-color: #";
         echo twig_escape_filter($this->env, $this->getAttribute($context["categoriehsf"], "color", array()), "html", null, true);
         echo ";\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\n                        <td>&nbsp;&nbsp;";
         // line 102
         echo twig_escape_filter($this->env, $this->getAttribute($context["categoriehsf"], "CategoryName", array()), "html", null, true);
         echo "&nbsp;&nbsp;&nbsp;&nbsp;</td>\n                        ";
         // line 103
         if ($context["key"] / 4 == 1) {
             // line 104
             echo "                        </tr>\n                        <tr>\n                        ";
         }
         // line 107
         echo "                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['key'], $context['categoriehsf'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 108
     echo "                        </tr>\n                    </table>\n                        <br><br>\n                      <table border='0' class=\"table-hover\" >\n                        <thead id=\"table_jours\">\n                          <tr>\n                              <td id=\"ref_width\"></td>\n                              ";
     // line 115
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, $this->getContext($context, "JoursDansMois")));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 116
         echo "                                      <td class=\"entete ";
         if (twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "D", "Europe/Paris") == "Sat" || twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "D", "Europe/Paris") == "Sun") {
             echo "NT";
         }
         echo "\"> ";
         echo twig_escape_filter($this->env, $this->env->getExtension('oc_extension')->DateDayFrFilter(twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "D", "Europe/Paris")), "html", null, true);
         echo "</td>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 118
     echo "                          </tr>\n                          <tr>\n                              <td ></td>\n                              ";
     // line 121
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(range(1, $this->getContext($context, "JoursDansMois")));
     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
         // line 122
         echo "                                      <td class=\"entete\"> ";
         echo twig_escape_filter($this->env, $context["i"], "html", null, true);
         echo " </td>\n                                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 124
     echo "                          </tr>\n                        </thead>\n                          <tr><td>&nbsp;<td><td> <td  id=\"ref-width\"></td></tr>\n                          ";
     // line 127
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "services"));
     foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
         // line 128
         echo "                          <tr>\n                              <td class=\"nomSevice text-bold\" style=\"min-width: 200px\">";
         // line 129
         echo twig_escape_filter($this->env, $this->getAttribute($context["service"], "NomService", array()), "html", null, true);
         echo "&nbsp;&nbsp;</td>\n                              <td colspan=\"";
         // line 130
         echo twig_escape_filter($this->env, $this->getContext($context, "JoursDansMois") + 1, "html", null, true);
         echo "\" ></td>\n                          </tr>\n                          ";
         // line 132
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "users"));
         foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
             if ($this->getAttribute($this->getAttribute($this->getAttribute($context["user"], "agent", array()), "service", array()), "id", array()) == $this->getAttribute($context["service"], "id", array()) && $this->getAttribute($this->getAttribute($context["user"], "agent", array()), "id", array()) != 39) {
                 // line 133
                 echo "                              ";
                 if ($this->getAttribute($context["user"], "enabled", array()) == 1) {
                     // line 134
                     echo "                            <tr>\n                                <td class=\"nomAgent\" style=\"width:300\" >";
                     // line 135
                     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["user"], "agent", array()), "NomCanonique", array()), "html", null, true);
                     echo "&nbsp;&nbsp;</td>\n                                ";
                     // line 136
                     $context['_parent'] = (array) $context;
                     $context['_seq'] = twig_ensure_traversable(range(1, $this->getContext($context, "JoursDansMois")));
                     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
                         // line 137
                         echo "                                    ";
                         if ($context["i"] < 10) {
                             // line 138
                             echo "                                        ";
                             $context["i"] = "0" . $context["i"];
                             // line 139
                             echo "                                    ";
                         }
                         // line 140
                         echo "                                                <td id=\"";
                         echo twig_escape_filter($this->env, $this->getContext($context, "year"), "html", null, true);
                         echo "-";
                         echo twig_escape_filter($this->env, $this->getContext($context, "month"), "html", null, true);
                         echo "-";
                         echo twig_escape_filter($this->env, sprintf($context["i"], $this->getContext($context, "month")), "html", null, true);
                         echo "_A";
                         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["user"], "agent", array()), "id", array()), "html", null, true);
                         echo "_S";
                         echo twig_escape_filter($this->env, $this->getAttribute($context["service"], "id", array()), "html", null, true);
                         echo "\"\n                                                    class=\"absence ";
                         // line 141
                         if (twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "D", "Europe/Paris") == "Sat" || twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "D", "Europe/Paris") == "Sun") {
                             echo "NT";
                         }
                         echo "\"\n                                                        ";
                         // line 142
                         $context["jour"] = twig_date_format_filter($this->env, $context["i"] . "-" . $this->getContext($context, "month") . "-" . $this->getContext($context, "year"), "l");
                         // line 143
                         echo "                                                    ";
                         if ($this->getAttribute($this->getAttribute($this->getAttribute($context["user"], "agent", array()), "tempsPartiels", array()), $this->getContext($context, "jour"), array(), "array") == 1) {
                             // line 144
                             echo "                                                        style=\"background-color: #01B0F0\"><span data-original-title=\"Après Midi\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\" >PM</span>\n                                                    ";
                         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($context["user"], "agent", array()), "tempsPartiels", array()), $this->getContext($context, "jour"), array(), "array") == 10) {
                             // line 146
                             echo "                                                        style=\"background-color: #01B0F0\"><span data-original-title=\"Matin\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\" >AM</span>\n                                                    ";
                         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($context["user"], "agent", array()), "tempsPartiels", array()), $this->getContext($context, "jour"), array(), "array") == 11) {
                             // line 148
                             echo "                                                        style=\"background-color: #01B0F0\">\n                                                    ";
                         } else {
                             // line 150
                             echo "                                                        >\n                                                    ";
                         }
                         // line 152
                         echo "                                                   \n                                                    \n                                                </td>\n                                ";
                     }
                     $_parent = $context['_parent'];
                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
                     $context = array_intersect_key($context, $_parent) + $_parent;
                     // line 156
                     echo "                            </tr>\n                               ";
                 }
                 // line 158
                 echo "                            ";
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 159
         echo "                        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 160
     echo "                  </table>\n                  \n                  <script>\n                      ";
     // line 163
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "events"));
     foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
         // line 164
         echo "                          \n                          ";
         // line 166
         echo "                          ";
         $context["dureeTotale"] = $this->getAttribute($context["event"], "DateDiff", array(0 => $this->getAttribute($context["event"], "fin", array()), 1 => $this->getAttribute($context["event"], "debut", array())), "method");
         // line 167
         echo "                          \n                          ";
         // line 168
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(range(0, $this->getContext($context, "dureeTotale")));
         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
             // line 169
             echo "                              \$(\"#";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "+" . $context["i"] . " day"), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('";
             if ($this->getAttribute($this->getAttribute($context["event"], "category", array()), "id", array()) == 6) {
                 echo "<span data-original-title=\"";
                 echo twig_escape_filter($this->env, $this->getAttribute($context["event"], "Commentaire", array()), "html", null, true);
                 echo "\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
             }
             echo "');\n                              \$(\"#";
             // line 170
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "+" . $context["i"] . " day"), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").css(\"background-color\", \"#";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "Category", array()), "color", array()), "html", null, true);
             echo "\");\n                          ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 172
         echo "                              \n                          ";
         // line 173
         if (twig_date_format_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "H") == "08" && twig_date_format_filter($this->env, $this->getAttribute($context["event"], "fin", array()), "H") == "12") {
             // line 174
             echo "                                \$(\"#";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["event"], "fin", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"Matin";
             if ($this->getAttribute($this->getAttribute($context["event"], "category", array()), "id", array()) == 6) {
                 echo " - ";
                 echo twig_escape_filter($this->env, $this->getAttribute($context["event"], "Commentaire", array()), "html", null, true);
             }
             echo "\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\" >AM</span>');\n                          ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "H") == "14" && twig_date_format_filter($this->env, $this->getAttribute($context["event"], "fin", array()), "H") == "12") {
             // line 176
             echo "                                \$(\"#";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"Après Midi";
             if ($this->getAttribute($this->getAttribute($context["event"], "category", array()), "id", array()) == 6) {
                 echo " - ";
                 echo twig_escape_filter($this->env, $this->getAttribute($context["event"], "Commentaire", array()), "html", null, true);
             }
             echo "\" data-container=\"body\"data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\" class=\"text-bold\" >PM</span>');\n                          ";
         }
         // line 178
         echo "                                  \n                          ";
         // line 179
         if (twig_date_format_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "H") == "14" && twig_date_format_filter($this->env, $this->getAttribute($context["event"], "fin", array()), "H") == "18") {
             // line 180
             echo "                                  \$(\"#";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["event"], "fin", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"matin";
             if ($this->getAttribute($this->getAttribute($context["event"], "category", array()), "id", array()) == 6) {
                 echo " - ";
                 echo twig_escape_filter($this->env, $this->getAttribute($context["event"], "Commentaire", array()), "html", null, true);
             }
             echo "\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\">AM</span>');\n                                  \$(\"#";
             // line 181
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["event"], "debut", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["event"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["event"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"après midi";
             if ($this->getAttribute($this->getAttribute($context["event"], "category", array()), "id", array()) == 6) {
                 echo " - ";
                 echo twig_escape_filter($this->env, $this->getAttribute($context["event"], "Commentaire", array()), "html", null, true);
             }
             echo "\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\" class=\"text-bold\" >PM</span>')\n                          ";
         }
         // line 183
         echo "                              \n                      ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 185
     echo "                          \n                      ";
     // line 186
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "tabHSF"));
     foreach ($context['_seq'] as $context["_key"] => $context["HSF"]) {
         // line 187
         echo "                            ";
         if (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "H") == "08" && $this->getAttribute($context["HSF"], "nbheure", array()) < 4.5) {
             echo " // si hsf est le matin\n                                if (\$(\"#";
             // line 188
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html() === ''){\n                                    \$(\"#";
             // line 189
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"Matin\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\" >AM</span>');\n                                }else if ( \$(\"#";
             // line 190
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo ":contains(PM)\") ){\n                                    \$(\"#";
             // line 191
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('');\n                                }\n                            ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "H") == "14" && $this->getAttribute($context["HSF"], "nbheure", array()) < 4.5) {
             echo " // si hsf est l'aprem\n                                if (\$(\"#";
             // line 194
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html() === ''){\n                                    \$(\"#";
             // line 195
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('<span data-original-title=\"Matin\" data-container=\"body\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"\"class=\"text-bold\" >PM</span>');\n                                }else if ( \$(\"#";
             // line 196
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo ":contains(AM)\") ){\n                                    \$(\"#";
             // line 197
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('');\n                                }\n                            ";
         } else {
             // line 199
             echo " //si hsf est toute la journée\n                                \$(\"#";
             // line 200
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
             echo "_A";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
             echo "_S";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
             echo "\").html('');  \n                            ";
         }
         // line 202
         echo "                            \n                            //coloration du font de la case\n                            \$(\"#";
         // line 204
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "Y-m-d"), "html", null, true);
         echo "_A";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "id", array()), "html", null, true);
         echo "_S";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["HSF"], "agent", array()), "service", array()), "id", array()), "html", null, true);
         echo "\").css(\"background-color\", \"#";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "Category", array()), "color", array()), "html", null, true);
         echo "\");\n\n                      ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['HSF'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 207
     echo "                              \n                  </script>\n                </div><!-- /.box-body -->\n              </div><!-- /.box -->\n            </div><!-- /.col -->\n          </div><!-- /.row -->\n        </section><!-- /.content -->\n      </div><!-- /.content-wrapper -->\n         <footer class=\"main-footer hidden-print\">\n        <div class=\"pull-right hidden-xs\">\n          <b>Version</b> 2.0\n        </div>\n        <strong>Copyright &copy; 2014-2015 <a href=\"http://almsaeedstudio.com\">Almsaeed Studio</a>.</strong> All rights reserved.\n      </footer>\n    </div><!-- ./wrapper -->\n    \n    <div>\n        \n    </div>\n        \n    ";
     // line 227
     $this->displayBlock('javascript', $context, $blocks);
     // line 284
     echo "  </body>\n</html>\n      ";
 }
 public function block_avis($context, array $blocks = array())
 {
     // line 4
     echo "        <!-- Main content -->\n        <section class=\"content\">\n          <div class=\"row\">\n            <div class=\"col-md-9\">\n               <div class=\"box\"  style=\"padding:15px\">\n                <div class=\"box-body no-padding\">\n                    <h4 class='text-center'>\n                    Centre Linguistique Appliquée<br>\n                    Demande d'autorisation d'absence<br>\n                    Ann&eacute;e               \n                    ";
     // line 14
     if (twig_date_format_filter($this->env, "now", "Ymd") < twig_date_format_filter($this->env, "31-08-" . twig_date_format_filter($this->env, "now", "Y"), "Ymd")) {
         // line 15
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") - 1, "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo "\n                        ";
     } else {
         // line 17
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true);
         echo "\n                    ";
     }
     // line 19
     echo "                    </h4>\n                    <br>\n                    <p><u>Renseignement sur le demandeur :</u></p>\n                    ";
     // line 22
     if ($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()) != null) {
         // line 23
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 24
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 25
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "demandeLe", array()), "d/m/Y "), "html", null, true);
         echo "</span></p>\n                    <u> Demande d'autorisation d'absence :</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 28
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "debut", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span>\n                    au <span class=\"text-bold\">";
         // line 29
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "fin", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span> <br>\n                    \n                    Type de congé : <span class=\"text-bold\">";
         // line 31
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    \n                    Nombre de jour";
         // line 33
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()) > 1) {
             echo "s";
         }
         echo " : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                     ";
         // line 35
         if (!(null === $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "eventAssocie", array()), "Commentaire", array()))) {
             // line 36
             echo "                        <u>Raison : </u><br><br>\n                        ";
             // line 37
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "eventAssocie", array()), "Commentaire", array()), "html", null, true);
             echo "<br>\n                    ";
         }
         // line 39
         echo "                    <bR>\n                    <u>Avis du bureau des ressources humaines :</u><br><br>\n                    <a href=\"";
         // line 41
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_notification_traitement_avis", array("id_notif" => $this->getAttribute($this->getContext($context, "notif"), "id", array()), "avis" => "favorable")), "html", null, true);
         echo "\">\n                    <span class=\"fa-stack fa-lg text-success text-bold\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-check fa-stack-1x\"></i>\n                    </span>Favorable<br>\n                    </a>\n                    <a href=\"#\" data-toggle=\"modal\" data-target=\"#myModal\">\n                    <span class=\"fa-stack fa-lg text-red\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-times fa-stack-1x\"></i>\n                    </span>Defavorable<br>\n                    </a>\n                        <br>\n                    <br>\n                    ";
         // line 55
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 2 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 9 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 5) {
             // line 56
             echo "                    <u>Rappel :</u><br><br>\n                    ";
         }
         // line 58
         echo "                    <table id=\"rappel\" border=\"1\">\n                            ";
         // line 59
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 2) {
             // line 60
             echo "                              <tr>\n                                <td>Nombre de jours autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 68
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 69
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 70
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 9) {
             // line 73
             echo "                                <tr>\n                                <td>Nombre de jours ASA autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 81
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 82
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 83
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 5) {
             // line 86
             echo "                                <tr>\n                                <td> Nombre de reliquat autorisés <br>\n                                    <small> Congés pris au titre de l'ann&eacute;e universitaire </small>\n                                </td>\n                                <td>Nombre de reliquat déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 94
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 95
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 96
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         }
         // line 99
         echo "                    </table>\n                    ";
     } elseif ($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()) != null) {
         // line 101
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 102
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 103
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "demandeLe", array()), "d/m/Y"), "html", null, true);
         echo "</span></p>\n                    \n                    <u>Recupération d'heures supplémentaires / de fractionnement</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 107
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span>\n                    au <span class=\"text-bold\">";
         // line 108
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "d/m/Y"), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "+" . $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) . " hours"), "H:i"), "html", null, true);
         echo "</span> <br>\n                    Type de congé : <span class=\"text-bold\">";
         // line 109
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    Nombre d'heure";
         // line 110
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) > 1) {
             echo "s";
         }
         echo " : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                    <u>Avis du bureau des ressources humaines</u><br><br>\n                    <a href=\"";
         // line 113
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_notification_traitement_avis", array("id_notif" => $this->getAttribute($this->getContext($context, "notif"), "id", array()), "avis" => "favorable")), "html", null, true);
         echo "\">\n                    <span class=\"fa-stack fa-lg text-success text-bold\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-check fa-stack-1x\"></i>\n                    </span>Favorable<br>\n                    </a>\n                    <a href=\"#\" data-toggle=\"modal\" data-target=\"#myModal\">\n                    <span class=\"fa-stack fa-lg text-red\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-times fa-stack-1x\"></i>\n                    </span>Defavorable<br>\n                    </a>\n\n                        <br>\n                    <u>Rappel</u><br><br>\n                    <table id=\"rappel\" border=\"1\">\n                        <tr>\n                            <td>Nombre d'heures de fractionnement restant à prendre</td>\n                            <td>Nombre de demi-journ&eacute;e d'heures supplémentaire à récupérer</td>\n                        </tr>\n                        <tr>\n                            <td> ";
         // line 134
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heureFractionnement", array()), "html", null, true);
         echo " </td>\n                            <td> ";
         // line 135
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heuresSup", array()), "html", null, true);
         echo "</td>\n                        </tr>\n                    </table>\n                  ";
     }
     // line 139
     echo "                \n                               <!-- Modal-Dialog --> \n                <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">\n                    <div class=\"modal-dialog\">\n                      <div class=\"modal-content\">\n                        <div class=\"modal-header\">\n                          <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>\n                          <h4 class=\"modal-title\" id=\"myModalLabel\">Veuillez motiver votre avis de refus</h4>\n                        </div>\n                        <div class=\"modal-body\">\n                           ";
     // line 149
     echo $this->env->getExtension('form')->renderer->renderBlock($this->getContext($context, "form"), 'form_start', array("action" => $this->env->getExtension('routing')->getPath("oc_notification_traitement_avis", array("id_notif" => $this->getAttribute($this->getContext($context, "notif"), "id", array()), "avis" => "defavorable"))));
     echo "\n                            ";
     // line 150
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'errors');
     echo "\n\n                            ";
     // line 152
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "motivation", array()), 'errors');
     echo "\n                            ";
     // line 153
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "motivation", array()), 'widget', array("attr" => array("class" => "form-control", "rows" => "10")));
     echo "\n                            <small id=\"compteur\" class=\"pull-right\"></small>\n                            <br>\n                        </div>\n                        <div class=\"modal-footer\">\n                            <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Fermer</button>\n                            <input type=\"submit\"  class=\"btn btn-primary\"  value=\"Envoyer le refus\">\n                        </div>\n                           ";
     // line 161
     echo $this->env->getExtension('form')->renderer->renderBlock($this->getContext($context, "form"), 'form_end');
     echo "\n                      </div>\n                    </div>\n                  </div><!-- /.modal-dialog -->\n                </div><!-- /.box-body -->\n";
 }
 public function block_avis($context, array $blocks = array())
 {
     // line 4
     echo "        <!-- Main content -->\n        <section class=\"content\">\n          <div class=\"row\">\n            <div class=\"col-md-9\" style=\"min-width: 1000px\" >\n               <div class=\"box\"  style=\"padding:15px\">\n                <div class=\"box-body no-padding\">\n                    <h4 class='text-center'>\n                    Centre Linguistique Appliquée<br>\n                    Demande d'autorisation d'absence<br>\n                    Ann&eacute;e             \n                    ";
     // line 14
     if (twig_date_format_filter($this->env, "now", "d/m/Y") < twig_date_format_filter($this->env, "31-08-" . twig_date_format_filter($this->env, "now", "Y"), "d/m/Y")) {
         // line 15
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") - 1, "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo "\n                        ";
     } else {
         // line 17
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true);
         echo "\n                    ";
     }
     // line 19
     echo "                    </h4>\n                    <br>\n                    <p><u>Renseignement sur le demandeur :</u></p>\n                    ";
     // line 22
     if ($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()) != null) {
         // line 23
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 24
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 25
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "demandeLe", array()), "d/m/Y "), "html", null, true);
         echo "</span></p>\n                    <u> Demande d'autorisation d'absence :</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 28
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "debut", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span>\n                    au <span class=\"text-bold\">";
         // line 29
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "fin", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span> <br>\n                    \n                    Type de congé : <span class=\"text-bold\">";
         // line 31
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    \n                    Nombre de jour";
         // line 33
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()) > 1.9) {
             echo "s";
         }
         echo " : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                    <u>Avis du responsable administratif :</u><br><br>\n                    <a href=\"#\">\n                    <span class=\"fa-stack fa-lg text-success text-bold\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-check fa-stack-1x\"></i>\n                    </span>Favorable<br>\n                    </a>\n                        <br>\n                    \n                        \n                            ";
         // line 45
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 2) {
             // line 46
             echo "                            <u>Rappel :</u><br><br>\n                            <table id=\"rappel\" border=\"1\">\n                              <tr>\n                                <td>Nombre de jours autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 56
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 57
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 58
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 9) {
             // line 61
             echo "                                <u>Rappel :</u><br><br>\n                            <table id=\"rappel\" border=\"1\">\n                                <tr>\n                                <td>Nombre de jours ASA autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 71
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 72
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 73
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 5) {
             // line 76
             echo "                                <u>Rappel :</u><br><br>\n                            <table id=\"rappel\" border=\"1\">\n                                <tr>\n                                <td> Nombre de reliquat autorisés <br>\n                                    <small> Congés pris au titre de l'ann&eacute;e universitaire </small>\n                                </td>\n                                <td>Nombre de reliquat déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 86
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 87
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 88
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         }
         // line 91
         echo "                        </tr>\n                    </table>\n                    ";
     } elseif ($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()) != null) {
         // line 94
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 95
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 96
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "demandeLe", array()), "d/m/Y"), "html", null, true);
         echo "</span></p>\n                    <u>Recupération d'heures supplémentaires / de fractionnement</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 99
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span>\n                     au <span class=\"text-bold\">";
         // line 100
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "Y/m/d"), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "+" . $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) . " hours"), "H:i"), "html", null, true);
         echo "</span> <br>\n                    Type de congé : <span class=\"text-bold\">";
         // line 101
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    Nombre de demi-journ&eacute;e";
         // line 102
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) > 1) {
             echo "s";
         }
         echo "  � recuperer : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                    <u>Avis du responsable administratif</u><br><br>\n                    <a href=\"#\">\n                        <span class=\"fa-stack fa-lg text-success text-bold\">\n                            <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                            <i class=\"fa fa-check fa-stack-1x\"></i>\n                        </span>Favorable<br>\n                    </a>\n                    <br>\n                    <u>Rappel</u><br><br>\n                    <table id=\"rappel\" border=\"1\">\n                        <tr>\n                            <td>Nombre de demi-journ&eacute;e d'heures de fractionnement à récupérer</td>\n                            <td>Nombre de demi-journ&eacute;e d'heures supplémentaire à récupérer</td>\n                            <td>Total</td>\n                        </tr>\n                        <tr>\n                            <td> ";
         // line 120
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heureFractionnement", array()), "html", null, true);
         echo " </td>\n                            <td> ";
         // line 121
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heuresSup", array()), "html", null, true);
         echo "</td>\n                            <td> ";
         // line 122
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heureFractionnement", array()) + $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heuresSup", array()), "html", null, true);
         echo " </td>\n                        </tr>\n                    </table>\n                  ";
     }
     // line 126
     echo "              \n";
 }
 public function block_javascript($context, array $blocks = array())
 {
     // line 212
     echo "        <!-- fullCalendar 2.2.5 -->\n    <script src=\"";
     // line 213
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/calendar/moment.min.js"), "html", null, true);
     echo " \"></script>\n    <script src=\"";
     // line 214
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/calendar/fullcalendar.js"), "html", null, true);
     echo "\"></script>\n    <script src=\"";
     // line 215
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/calendar/lang/fr.js"), "html", null, true);
     echo "\"></script>\n    <script>\n    \$(document).ready(function() {\n        //suppression de \"enfant malade\" et \"arret maladie\" dans la liste déroulante\n        \$('#oc_calendrierbundle_event_Category option').each(function(){\n        if(\$(this).attr(\"value\") == 1)\n            \$(this).remove();\n        if(\$(this).attr(\"value\") == 7)\n            \$(this).remove();\n        });\n        //on met 18h en fin par defaut\n        \$('#oc_calendrierbundle_event_fin_time_hour option[value=\"18\"]').prop('selected', true);\n        //a chaque changement on recaclcule\n        \$('#oc_calendrierbundle_event_debut_time_hour').change(calcOpenDaysJS());\n\n        //initialisaion du calendrier\n        \$('#calendar').fullCalendar({\n            lang: 'fr',\n            minTime:'7:00',\n            maxTime:'19:00',\n            weekends: false,\n            businessHours:\n                {\n                    start: '08:00',\n                    end: '18:00',\n                    dow: [ 1, 2, 3, 4, 5 ]\n                },\n            selectable: {\n\t\t\t\tmonth: true,\n\t\t\t\tagendaWeek : true\n\t\t\t},\n            unselectAuto: false,\n            selectHelper: true,\n            select: function(start, end, jsEvent, view) {\n                calcHoursJS(moment);\n                //oncglet heures sup/frac\n                \$(\"#oc_calendrierbundle_heuresupfrac_date_day\").val(moment(start).format('D'));\n                \$(\"#oc_calendrierbundle_heuresupfrac_date_month\").val(moment(start).format('M'));\n                \$(\"#oc_calendrierbundle_heuresupfrac_date_year\").val(moment(start).format('YYYY'));\n                \$(\"#oc_calendrierbundle_heuresupfrac_nbheure\").val( moment(end).format('H') - moment(start).format('H') );\n                \n                //onglet absence\n                \$(\"#oc_calendrierbundle_event_debut_date_day\").val(moment(start).format('D'));\n                \$(\"#oc_calendrierbundle_event_debut_date_month\").val(moment(start).format('M'));\n                \$(\"#oc_calendrierbundle_event_debut_date_year\").val(moment(start).format('YYYY'));\n                if (view.name === 'month'){\n                    \$(\"#oc_calendrierbundle_event_fin_date_day\").val(moment(end).format('D')-1);}\n                else {\$(\"#oc_calendrierbundle_event_fin_date_day\").val(moment(end).format('D'));}; \n                \n                \$(\"#oc_calendrierbundle_event_fin_date_month\").val(moment(end).format('M'));\n                \$(\"#oc_calendrierbundle_event_fin_date_year\").val(moment(end).format('YYYY'));\n                calcOpenDaysJS();\n            },\n            views: {\n                agendaFourDay: {\n                    type: 'agenda',\n                }\n            },\n            header: {\n                left: 'prev,next today',\n                center: 'title',\n                right: 'month,agendaWeek'\n              },\n              buttonText: {\n                today: 'Aujourd\\'hui',\n                month: 'Mois',\n                week: 'Semaine',\n              },\n              //chargement des évenements\n              events: [\n                {\n                    id: 15000,\n                    start : new Date(2000,01,01,00,00 ),\n                    end : new Date(2000,01,01,00,30),\n                },\n                ";
     // line 290
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "absences"));
     foreach ($context['_seq'] as $context["_key"] => $context["absence"]) {
         // line 291
         echo "                {\n                    title : '";
         // line 292
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "category", array()), "CategoryName", array()), "html", null, true);
         echo " ";
         if ($this->getAttribute($context["absence"], "accepted", array()) == null) {
             echo "- Demande envoyée";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "00-00-0000", "d-m-Y")) {
             echo "- En cours de traitement ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "accepted", array()), "d-m-Y") == "01-01-2000") {
             echo " Refusé ";
         }
         echo "',\n                    category : '";
         // line 293
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "category", array()), "CategoryName", array()), "html", null, true);
         echo "',\n                    ";
         // line 294
         if ($this->getAttribute($context["absence"], "autre", array(), "any", true, true)) {
             echo " autre: ' ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "autre", array()), "html", null, true);
             echo "',";
         }
         // line 295
         echo "                    start : '";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "debut", array()), "Y-m-d"), "html", null, true);
         echo "T";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "debut", array()), "H"), "html", null, true);
         echo ":01:00',\n                    allday : false,\n                    end : '";
         // line 297
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "fin", array()), "Y-m-d"), "html", null, true);
         echo "T";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "fin", array()), "H"), "html", null, true);
         echo ":01:00',\n                    proprietaire : '";
         // line 298
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "agent", array()), "prenom", array()), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "agent", array()), "nom", array()), "html", null, true);
         echo "',\n                    demandeLe : '";
         // line 299
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "demandele", array()), "d-m-Y"), "html", null, true);
         echo "',\n                    nb_journee : '";
         // line 300
         echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "nbjournee", array()), "html", null, true);
         echo "',\n                    accepted : '";
         // line 301
         if ($this->getAttribute($context["absence"], "accepted", array()) == null) {
             echo "Envoyé ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "00-00-0000", "d-m-Y")) {
             echo " En cours de traitement ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "accepted", array()), "d-m-Y") == "01-01-2000") {
             echo " Refusé ";
         } else {
             echo " ";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "accepted", array()), "d-m-Y"), "html", null, true);
             echo " ";
         }
         echo "',\n                    color : '#";
         // line 302
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "category", array()), "color", array()), "html", null, true);
         echo "',\n                    type : 'agent',\n                    lien : '";
         // line 304
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_homepage", array("id" => $this->getAttribute($this->getAttribute($context["absence"], "agent", array()), "id", array()))), "html", null, true);
         echo "',\n                    commentaire : '";
         // line 305
         echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "commentaire", array()), "html", null, true);
         echo "'\n                    \n                },\n                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['absence'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 309
     echo "                ";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "HSF"));
     foreach ($context['_seq'] as $context["_key"] => $context["heure"]) {
         // line 310
         echo "                {\n                    title : '";
         // line 311
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["heure"], "category", array()), "CategoryName", array()), "html", null, true);
         echo "',\n                    category : '";
         // line 312
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["heure"], "category", array()), "CategoryName", array()), "html", null, true);
         echo "',\n                    start : '";
         // line 313
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "date", array()), "Y-m-d"), "html", null, true);
         echo "T";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "date", array()), "H:i"), "html", null, true);
         echo ":00',\n                    allday : false,\n                    end : '";
         // line 315
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "date", array()), "Y-m-d"), "html", null, true);
         echo "T";
         if ($this->getAttribute($context["heure"], "nbheure", array()) < "4.5") {
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($context["heure"], "date", array()), "+" . $this->getAttribute($context["heure"], "nbheure", array()) . " hours"), "H:i"), "html", null, true);
             echo ":00'";
         } elseif ($this->getAttribute($context["heure"], "nbheure", array()) > "4.5") {
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($context["heure"], "date", array()), "+" . ($this->getAttribute($context["heure"], "nbheure", array()) + 2) . " hours"), "H:i"), "html", null, true);
             echo ":00'";
         }
         echo ",\n                    proprietaire : '";
         // line 316
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["heure"], "agent", array()), "prenom", array()), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["heure"], "agent", array()), "nom", array()), "html", null, true);
         echo "',\n                    demandeLe : '";
         // line 317
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "demandele", array()), "d-m-Y"), "html", null, true);
         echo "',\n                    nbheure : '";
         // line 318
         echo twig_escape_filter($this->env, $this->getAttribute($context["heure"], "nbheure", array()), "html", null, true);
         echo "',\n                    accepted : '";
         // line 319
         if ($this->getAttribute($context["heure"], "accepted", array()) == null) {
             echo " En cours de traitement ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "accepted", array()), "d-m-Y") == "01-01-2000") {
             echo " Refusé";
         } else {
             echo " ";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["heure"], "accepted", array()), "d-m-Y"), "html", null, true);
             echo " ";
         }
         echo "',\n                    color : '#";
         // line 320
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["heure"], "Category", array()), "color", array()), "html", null, true);
         echo "',\n                    type : 'HSF',\n                    lien : '";
         // line 322
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_homepage", array("id" => $this->getAttribute($this->getAttribute($context["heure"], "agent", array()), "id", array()))), "html", null, true);
         echo "'\n                },\n                  ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['heure'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 325
     echo "                  ";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "JoursFeries"));
     foreach ($context['_seq'] as $context["_key"] => $context["JF"]) {
         // line 326
         echo "                      {\n                          title : '";
         // line 327
         echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->getAttribute($context["JF"], "name", array()), "js"), "html", null, true);
         echo "',\n                          start : '";
         // line 328
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["JF"], "date", array()), "Y-m-d"), "html", null, true);
         echo "',\n                          allday : true,\n                          type : 'jourF',\n                          description : '";
         // line 331
         echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->getAttribute($context["JF"], "description", array()), "js"), "html", null, true);
         echo "',\n                          lien : '";
         // line 332
         echo twig_escape_filter($this->env, $this->getAttribute($context["JF"], "url", array()), "html", null, true);
         echo "',\n                      },\n                  ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['JF'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 334
     echo " \n        ],\n        //\$('#calendar').fullCalendar('rerenderEvents');\n        // Evenement au click\n        eventRender: function (event, element) {\n            element.attr('href', 'javascript:void(0);');\n            element.click(function() {\n                //set the modal values and open\n                if (event.category == 'ASA'){\n                    event.category += ' - '+ event.commentaire;\n                }\n                if (event.type === 'agent'){\n                \$('#modalTitle').html(event.proprietaire);\n                \$('#modalBody').html(\n                        \"<table class='table table-striped'>\"+\n                        \"<tr><td>Absence :</td><td>\"+ event.category+\"</td></tr>\"+\n                        \"<tr><td>Debut :</td><td>\"+ event.start.format(\"DD-MM-YYYY\")+\"</td></tr>\"+\n                        \"<tr><td>Fin :</td><td>\"+ event.end.format(\"DD-MM-YYYY\")+\"</td></tr>\"+\n                        \"<tr><td>Demande le :</td><td>\"+ event.demandeLe +\"</td></tr>\"+\n                        \"<tr><td>Accepté le :</td><td>\"+ event.accepted +\"</td></tr>\"+\n                        \"<tr><td>Nombre de journées :</td><td>\"+ event.nb_journee+\"</td></tr>\"+\n                        \"</table>\"\n                        );\n                \$('#eventUrl').attr('href',event.lien);\n                \$('#fullCalModal').modal();\n                }\n                if (event.type === 'HSF'){\n                \$('#modalTitle').html(event.proprietaire);\n                \$('#modalBody').html(\n                        \"<table class='table table-striped'>\"+\n                        \"<tr><td>Absence :</td><td>\"+ event.category + \"</td></tr>\"+\n                        \"<tr><td>Date :</td><td>\"+ event.start.format(\"DD-MM-YYYY HH:\") + \"00</td></tr>\"+\n                        \"<tr><td>Demande le :</td><td>\"+ event.demandeLe + \"</td></tr>\" +\n                        \"<tr><td>Accepté le :</td><td>\"+ event.accepted + \"</td></tr>\" +\n                        \"<tr><td>Nombre d'heure :</td><td>\"+ event.nbheure+\"</td></tr>\" +\n                        \"</table>\"\n                        );\n                \$('#eventUrl').attr('href',event.lien);\n                \$('#fullCalModal').modal();\n                }\n                else {\n            \$('#modalTitle').html(event.category);\n            \$('#modalBody').html(event.description\n                        );\n                \$('#eventUrl').attr('href',event.lien);\n                \$('#fullCalModal').modal();\n            }\n            });\n        }\n        });\n        });\n    </script>\n    <script>\n\n    function renderEventMatin(stick) {\n            var selectYearHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_year\").val();\n            var selectMonthHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_month\").val();\n            var selectDayHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_day\").val();\n            var event = \$('#calendar').fullCalendar('clientEvents', 15000)[0];\n            event.start = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 08, 30);\n            event.end = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 12, 00);\n            \$('#calendar').fullCalendar('updateEvent', event);\n    }\n    function renderEventAprem(stick) {\n            var selectYearHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_year\").val();\n            var selectMonthHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_month\").val();\n            var selectDayHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_day\").val();\n            var event = \$('#calendar').fullCalendar('clientEvents', 15000)[0];\n            event.start = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 14, 00);\n            event.end = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 17, 30);\n            \$('#calendar').fullCalendar('updateEvent', event);\n    }\n    function renderEventJournee(stick) {\n            var selectYearHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_year\").val();\n            var selectMonthHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_month\").val();\n            var selectDayHSF = \$(\"#oc_calendrierbundle_heuresupfrac_date_day\").val();\n            var event = \$('#calendar').fullCalendar('clientEvents', 15000)[0];\n            event.start = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 08, 30);\n            event.end = new Date(selectYearHSF, (selectMonthHSF-1), selectDayHSF, 17, 30);\n            \$('#calendar').fullCalendar('updateEvent', event);\n    }\n    function setCategoryFrac(){\n        \$(\"#oc_calendrierbundle_heuresupfrac_Category\").val('2');\n    }    \n\n    function calcOpenDaysJS(){\n            var DD = document.getElementById(\"oc_calendrierbundle_event_debut_date_day\").value;\n            var DM = document.getElementById(\"oc_calendrierbundle_event_debut_date_month\").value;\n            var DY = document.getElementById(\"oc_calendrierbundle_event_debut_date_year\").value;\n            var FD = document.getElementById(\"oc_calendrierbundle_event_fin_date_day\").value;\n            var FM = document.getElementById(\"oc_calendrierbundle_event_fin_date_month\").value;\n            var FY = document.getElementById(\"oc_calendrierbundle_event_fin_date_year\").value;\n            var debH = document.getElementById(\"oc_calendrierbundle_event_debut_time_hour\").options[ document.getElementById(\"oc_calendrierbundle_event_debut_time_hour\").selectedIndex ].text;\n            var finH = document.getElementById(\"oc_calendrierbundle_event_fin_time_hour\").options[ document.getElementById(\"oc_calendrierbundle_event_fin_time_hour\").selectedIndex ].text;\n            var category = document.getElementById(\"oc_calendrierbundle_event_Category\").value;\n            \$.ajax({\n                type:'get',\n                url:'";
     // line 431
     echo $this->env->getExtension('routing')->getPath("oc_calendrier_calc_jour");
     echo "?DD='+DD+'&DM='+DM+'&DY='+DY+'&FD='+FD+'&FM='+FM+'&FY='+FY+'&ID=";
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "id", array()), "html", null, true);
     echo "'+'&debH='+debH+'&finH='+finH+'&cat='+category,\n                success: function(data){\n                    \$(\"#oc_calendrierbundle_event_nb_journee\").val(data.nb_jour);\n                    if ( \$(\"#oc_calendrierbundle_event_nb_journee\").val() < 0 ){\n                         \$(\"#oc_calendrierbundle_event_nb_journee\").val(\"0\");\n                    }\n                },\n                error: function(){\n                    console.log('erreur survenu en lien avec le champ Nombre de Journees');\n                    \$(\"#oc_calendrierbundle_event_nb_journee\").val(\"error\");\n                }\n            });\n        }\n\n    function calcHoursJS(){\n                if (\$(\"#oc_calendrierbundle_heuresupfrac_AmPmJH_0\").is(':checked') || \$(\"#oc_calendrierbundle_heuresupfrac_AmPmJH_1\").is(':checked')   ){\n                        \$(\"#oc_calendrierbundle_heuresupfrac_nbheure\").val(\"1\");\n                }\n                if (\$(\"#oc_calendrierbundle_heuresupfrac_AmPmJH_2\").is(':checked') ){\n                        \$(\"#oc_calendrierbundle_heuresupfrac_nbheure\").val(\"2\");\n                }\n    }\n     \n    function affichagePrecisez() {\n        var x = document.getElementById('oc_calendrierbundle_event_Category').value;\n        if (x == \"6\") {\n            document.getElementById('presisez').style.visibility = 'visible';\n        } else {\n            document.getElementById('presisez').style.visibility = 'hidden';\n        }\n    }\n    \n    \n    affichagePrecisez();\n    \n    function ChangeView( view ) {\n            \$('#calendar').fullCalendar('changeView' , view);\n    }\n    \n    var now = new Date();\n            ";
     // line 472
     echo "    \$(\"#oc_calendrierbundle_heuresupfrac_date_day   option[value='\"+ now.getDate()     +\"'] \").attr('selected', true);// day\n    \$(\"#oc_calendrierbundle_heuresupfrac_date_year  option[value='\"+ now.getFullYear() +\"'] \").attr('selected', true);// year\n    \$(\"#oc_calendrierbundle_heuresupfrac_date_month option[value='\"+ (now.getMonth()+1)    +\"'] \").attr('selected', true);// month\n\n    </script>\n    <script>";
     // line 478
     echo "    \$(function(){\n        \$('[rel=\"popover\"]').popover({\n            container: 'body',\n            html: true,\n            content: function () {\n                var clone = \$(\$(this).data('popover-content')).clone(true).removeClass('hide');\n                return clone;\n            }\n        }).click(function(e) {\n            e.preventDefault();\n        });\n    });\n    </script>\n    <script>\n        ";
     // line 493
     echo "        \$(\"#oc_calendrierbundle_event_debut_date_month option[value=2] \").html( \"Fev\" )  ;\n        \$(\"#oc_calendrierbundle_event_debut_date_month option[value=4] \").html( \"Avr\" )  ;\n        \$(\"#oc_calendrierbundle_event_debut_date_month option[value=5] \").html( \"Mai\" )  ;\n        \$(\"#oc_calendrierbundle_event_fin_date_month   option[value=2] \").html( \"Fev\" )  ;\n        \$(\"#oc_calendrierbundle_event_fin_date_month   option[value=4] \").html( \"Avr\" )  ;\n        \$(\"#oc_calendrierbundle_event_fin_date_month   option[value=5] \").html( \"Mai\" )  ;\n\n        \$(\"#oc_calendrierbundle_heuresupfrac_date_month option[value=2] \").html( \"Fev\" )  ;\n        \$(\"#oc_calendrierbundle_heuresupfrac_date_month option[value=4] \").html( \"Avr\" )  ;\n        \$(\"#oc_calendrierbundle_heuresupfrac_date_month option[value=5] \").html( \"Mai\" )  ;\n\n\n        if( \$(\"#oc_calendrierbundle_event_fin_date_day\").value == \"\"   ){\n            \$(\"#oc_calendrierbundle_event_fin_date_day option[value='30'] \").attr('selected', true);\n        }\n        \n        ";
     // line 510
     echo "        ";
     if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "User", array()), "agent", array()), "QuotiteTravail", array()) == 100) {
         // line 511
         echo "            \$(\"#oc_calendrierbundle_event_Category option[value='8']\").remove();\n        ";
     }
     // line 513
     echo "            \$(\"#oc_calendrierbundle_event_Category option[value='9']\").remove();\n            var now = new Date();\n            ";
     // line 516
     echo "        \$(\"#oc_calendrierbundle_event_debut_date_year  option[value='\"+ now.getFullYear()+\"'] \").attr('selected', true);// year\n        \$(\"#oc_calendrierbundle_event_fin_date_year    option[value='\"+ now.getFullYear()+\"'] \").attr('selected', true);// year\n        \$(\"#oc_calendrierbundle_event_debut_date_month option[value='\"+ (now.getMonth()+1) +\"'] \").attr('selected', true);// month\n        \$(\"#oc_calendrierbundle_event_fin_date_month   option[value='\"+ (now.getMonth()+1) +\"'] \").attr('selected', true);// month\n        \$(\"#oc_calendrierbundle_event_debut_date_day   option[value='\"+ now.getDate()    +\"'] \").attr('selected', true);// day\n        \$(\"#oc_calendrierbundle_event_fin_date_day     option[value='\"+ now.getDate()    +\"'] \").attr('selected', true);// day\n    </script>\n    ";
 }
 public function block_avis($context, array $blocks = array())
 {
     // line 4
     echo "        <!-- Main content -->\n        <section class=\"content\">\n          <div class=\"row\">\n            <div class=\"col-md-9\">\n               <div class=\"box\"  style=\"padding:15px\">\n                <div class=\"box-body no-padding\">\n                    <h4 class='text-center'>\n                    Centre Linguistique Appliquée<br>\n                    Demande d'autorisation d'absence<br>\n                    Ann&eacute;e               \n                    ";
     // line 14
     if (twig_date_format_filter($this->env, "now", "Ymd") < twig_date_format_filter($this->env, "31-08-" . twig_date_format_filter($this->env, "now", "Y"), "Ymd")) {
         // line 15
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") - 1, "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo "\n                        ";
     } else {
         // line 17
         echo "                        ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true);
         echo "\n                    ";
     }
     // line 19
     echo "                    </h4>\n                    <br>\n                    <p><u>Renseignement sur le demandeur :</u></p>\n                    ";
     // line 22
     if ($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()) != null) {
         // line 23
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 24
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 25
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "demandeLe", array()), "d/m/Y "), "html", null, true);
         echo "</span></p>\n                    <u> Demande d'autorisation d'absence :</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 28
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "debut", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span>\n                    au <span class=\"text-bold\">";
         // line 29
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "fin", array()), "d/m/Y H"), "html", null, true);
         echo ":00</span> <br>\n                    \n                    Type de congé : <span class=\"text-bold\">";
         // line 31
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    \n                    Nombre de jour";
         // line 33
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()) > 1) {
             echo "s";
         }
         echo " : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "nbjournee", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                     ";
         // line 35
         if (!(null === $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "eventAssocie", array()), "Commentaire", array()))) {
             // line 36
             echo "                        <u>Raison : </u><br><br>\n                        ";
             // line 37
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "eventAssocie", array()), "Commentaire", array()), "html", null, true);
             echo "<br>\n                    ";
         }
         // line 39
         echo "                    <bR>\n                    <u>Avis du responsable des services administratifs :</u><br><br>\n\n                    <a href=\"#\">\n                    <span class=\"fa-stack fa-lg text-red\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-times fa-stack-1x\"></i>\n                    </span>Defavorable<br>\n                    </a>\n                    <br>\n                    ";
         // line 49
         if (!(null === $this->getAttribute($this->getContext($context, "notif"), "motivation", array()))) {
             // line 50
             echo "                    <u>Motif :</u><br><br>\n                    ";
             // line 51
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "notif"), "motivation", array()), "html", null, true);
             echo "\n                    ";
         }
         // line 53
         echo "                    <br>\n                    <br>\n                    <u>Rappel :</u><br><br>\n                    <table id=\"rappel\" border=\"1\">\n                        ";
         // line 57
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 2) {
             // line 58
             echo "                              <tr>\n                                <td>Nombre de jours autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 66
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 67
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "nbJourCongeAnnuel", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 68
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "joursRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 9) {
             // line 71
             echo "                                <tr>\n                                <td>Nombre de jours ASA autorisés<br>\n                                    <small>Congés pris au titre de l'ann&eacute;e universitaire</small>\n                                </td>\n                                <td>Nombre de jours déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 79
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 80
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASA", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 81
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ASARestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         } elseif ($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "category", array()), "id", array()) == 5) {
             // line 84
             echo "                                <tr>\n                                <td> Nombre de reliquat autorisés <br>\n                                    <small> Congés pris au titre de l'ann&eacute;e universitaire </small>\n                                </td>\n                                <td>Nombre de reliquat déjà accordés</td>\n                                <td>Solde</td>\n                              </tr>\n                              <tr>\n                                <td>";
             // line 92
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 93
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "Reliquat", array()) - $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 94
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "EventAssocie", array()), "Agent", array()), "ReliquatRestant", array()), "html", null, true);
             echo "</td>\n                              </tr>\n                            ";
         }
         // line 97
         echo "                    </table>\n                    ";
     } elseif ($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()) != null) {
         // line 99
         echo "                    <p>Nom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "nom", array()), "html", null, true);
         echo "</span> <br> Prenom : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "prenom", array()), "html", null, true);
         echo "</span><br>\n                    Service : <span class=\"text-bold\">";
         // line 100
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "agent", array()), "service", array()), "nomService", array()), "html", null, true);
         echo "</span></p>\n                    <p>Demande faite le <span class=\"text-bold\">";
         // line 101
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "demandeLe", array()), "d/m/Y"), "html", null, true);
         echo "</span></p>\n                    \n                    <u>Recupération d'heures supplémentaires / de fractionnement</u><br>\n                    <br>\n                    Du <span class=\"text-bold\">";
         // line 105
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "d/m/Y H:i"), "html", null, true);
         echo "</span>\n                    au <span class=\"text-bold\">";
         // line 106
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "Y/m/d"), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "date", array()), "+" . $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) . " hours"), "H:i"), "html", null, true);
         echo "</span> <br>\n                    Type de congé : <span class=\"text-bold\">";
         // line 107
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Category", array()), "CategoryName", array()), "html", null, true);
         echo "</span> <br>\n                    Nombre d'heure";
         // line 108
         if ($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()) > 1) {
             echo "s";
         }
         echo " : <span class=\"text-bold\">";
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "nbheure", array()), "html", null, true);
         echo "</span> <br>\n                    <br>\n                    <u>Avis du responsable des services administratifs</u><br><br>\n                    <a href=\"";
         // line 111
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_notification_traitement_avis", array("id_notif" => $this->getAttribute($this->getContext($context, "notif"), "id", array()), "avis" => "defavorable")), "html", null, true);
         echo "\" data-toggle=\"modal\" data-target=\"#myModal\">\n                    <span class=\"fa-stack fa-lg text-red\">\n                        <i class=\"fa fa-square-o fa-stack-2x\"></i>\n                        <i class=\"fa fa-times fa-stack-1x\"></i>\n                    </span>Defavorable<br>\n                    <br>\n                    </a>\n                    ";
         // line 118
         if (!(null === $this->getAttribute($this->getContext($context, "notif"), "motivation", array()))) {
             // line 119
             echo "                    <u>Motif :</u><br>\n                        ";
             // line 120
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "notif"), "motivation", array()), "html", null, true);
             echo "\n                    ";
         }
         // line 122
         echo "                    <br>\n                    <br>\n                    <u>Rappel</u><br><br>\n                    <table id=\"rappel\" border=\"1\">\n                        <tr>\n                            <td>Nombre d'heures de fractionnement restant à prendre</td>\n                            <td>Nombre de demi-journ&eacute;e d'heures supplémentaire à récupérer</td>\n                        </tr>\n                        <tr>\n                            <td> ";
         // line 131
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heureFractionnement", array()), "html", null, true);
         echo " </td>\n                            <td> ";
         // line 132
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "notif"), "HSFAssocie", array()), "Agent", array()), "heuresSup", array()), "html", null, true);
         echo "</td>\n                        </tr>\n                    </table>\n                  ";
     }
     // line 136
     echo "                               <!-- Modal-Dialog --> \n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"UTF-8\">\n    <title>AGeCo | Calendrier des congés</title>\n    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>\n    <style>\n        table tr td{\n            border-spacing: 10px;\n            border-collapse: collapse;\n            cursor : pointer ;\n        }\n    </style>\n  </head>\n  <body class=\"skin-blue\">\n    <div class=\"wrapper\">\n      ";
     // line 17
     echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("OCAgentBundle:Default:menu"));
     echo "\n      <!-- Right side column. Contains the navbar and content of the page -->\n      <div class=\"content-wrapper\">\n        <!-- Content Header (Page header) -->\n        <section class=\"content-header \">\n          <h1>\n            Liste des notifications\n          </h1>\n          <ol class=\"breadcrumb hidden-print\">\n            <li><a href=\"#\"><i class=\"fa fa-dashboard\"></i> Home</a></li>\n            <li class=\"active\">Liste des notifications</li>\n          </ol>\n            ";
     // line 29
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "session", array()), "flashbag", array()), "get", array(0 => "notice"), "method"));
     foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
         if ($this->getAttribute($context["flashMessage"], "alert", array(), "any", true, true)) {
             // line 30
             echo "                      <div class=\"alert alert-";
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "alert", array()), "html", null, true);
             echo " alert-dismissible col-md-9\" role=\"alert\">\n                          <button type=\"button\" class=\"close\" data-dismiss=\"alert\">\n                              <span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span>\n                          </button>\n                          <strong>";
             // line 34
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "title", array()), "html", null, true);
             echo "</strong> ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "message", array()), "html", null, true);
             echo "\n                      </div>\n              ";
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 37
     echo "        </section>\n\n        <!-- Main content -->\n        <section class=\"content\">\n          <div class=\"row\">\n            <div class=\"col-md-9\">\n               <div class=\"box\"  style=\"padding:15px\">\n                <div class=\"box-body no-padding\">\n                        ";
     // line 46
     echo "                        <div class=\"count\">\n                            <span class=\"initialism \"> Voici les ";
     // line 47
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "pagination"), "getTotalItemCount", array()), "html", null, true);
     echo " dernières notifications :</span>\n                        </div>\n                        <br><br>\n                        <table class=\"table table-responsive table-hover\" >\n                            <tr>\n                                <td>Demandeur</td>\n                                <td>Date de r&eacute;ception</td>\n                                <td>Objet</td>\n                                <td>Vue</td>\n                                <td>Trait&eacute;e</td>\n                                <td>Date de d&eacute;but d'absence</td>\n                                <td>Date de fin d'absence</td>\n                                <td>Nombre de jour(s)</td>\n                                <td>Nombre d'heure(s)</td>\n                                <td></td>\n                            </tr>\n                        ";
     // line 64
     echo "                        ";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "pagination"));
     foreach ($context['_seq'] as $context["_key"] => $context["notif"]) {
         // line 65
         echo "                            <tr  onclick=\"document.location = '";
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_notification_page_details", array("id_notif" => $this->getAttribute($context["notif"], "id", array()))), "html", null, true);
         echo ";'\" >\n                                <td>\n                                    ";
         // line 67
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1) {
             // line 68
             echo "                                        ";
             if (!(null === $this->getAttribute($context["notif"], "eventAssocie", array()))) {
                 // line 69
                 echo "                                            <a href=\"";
                 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_homepage", array("id" => $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "eventAssocie", array()), "Agent", array()), "id", array()))), "html", null, true);
                 echo "\">\n                                            <h4>";
                 // line 70
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "eventAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
                 echo "</h4>\n                                        ";
             } else {
                 // line 72
                 echo "                                            <a href=\"";
                 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_homepage", array("id" => $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "agent", array()), "id", array()))), "html", null, true);
                 echo "\">\n                                            <h4>";
                 // line 73
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
                 echo "</h4>\n                                        ";
             }
             // line 75
             echo "                                    </a>\n                                    ";
         } else {
             // line 77
             echo "                                        ";
             if (!(null === $this->getAttribute($context["notif"], "eventAssocie", array()))) {
                 // line 78
                 echo "                                            <h4>";
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "eventAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
                 echo "</h4>\n                                         ";
             } else {
                 // line 80
                 echo "                                            <h4>";
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
                 echo "</h4>\n                                         ";
             }
             // line 82
             echo "                                    ";
         }
         // line 83
         echo "                                </td>\n                                <td>\n                                <small><i class=\"fa fa-clock-o \"></i>\n                                    ";
         // line 86
         if (twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y") == twig_date_format_filter($this->env, "now", "d m Y")) {
             // line 87
             echo "                                            aujourd'hui\n                                        ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y") == twig_date_format_filter($this->env, twig_date_modify_filter($this->env, "now", "-1 day"), "d m Y")) {
             // line 89
             echo "                                            hier\n                                        ";
         } else {
             // line 91
             echo "                                            <span class=\"text-bold\">";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "d m Y") - twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y"), "html", null, true);
             echo "</span> jours \n                                    ";
         }
         // line 93
         echo "                                </small>\n                                </td>\n                                <td>\n                                  <span style=\"color: #777777\">";
         // line 96
         echo twig_escape_filter($this->env, $this->getAttribute($context["notif"], "title", array()), "html", null, true);
         echo "</span>\n                                </td>\n                                <td>\n                                ";
         // line 99
         if ($this->getAttribute($context["notif"], "visionee", array())) {
             // line 100
             echo "                                  <small style=\"color: green;\"><i class=\"fa fa-chevron-circle-down fa-lg\"></i>\n                                    vue&nbsp;\n                                  </small>\n                                 ";
         }
         // line 103
         echo " \n                                </td>\n                                <td>\n                                ";
         // line 106
         if ($this->getAttribute($context["notif"], "traitee", array())) {
             // line 107
             echo "                                  <small style=\"color: green;\"><i class=\"fa fa-check-square-o fa-lg\"></i>\n                                   trait&eacute;e\n                                  </small>\n                                 ";
         }
         // line 110
         echo " \n                            </td>\n                             ";
         // line 112
         if (!(null === $this->getAttribute($context["notif"], "eventAssocie", array()))) {
             // line 113
             echo "                                <td>";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "EventAssocie", array()), "debut", array()), "d/m/Y"), "html", null, true);
             echo "</td>\n                                <td>";
             // line 114
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "EventAssocie", array()), "fin", array()), "d/m/Y"), "html", null, true);
             echo "</td>\n                                <td>";
             // line 115
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "EventAssocie", array()), "nbJournee", array()), "html", null, true);
             echo "</td>\n                                <td></td>\n                            ";
         } else {
             // line 118
             echo "                                <td>";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "date", array()), "d/m/Y H:i"), "html", null, true);
             echo "</td>\n                                <td>";
             // line 119
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "date", array()), "d/m/Y"), "html", null, true);
             echo " ";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_modify_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "date", array()), "+" . $this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "nbheure", array()) . " hours"), "H:i"), "html", null, true);
             echo "</td>\n                                <td></td>\n                                <td>";
             // line 121
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "nbheure", array()), "html", null, true);
             echo "</td>\n                            ";
         }
         // line 123
         echo "                            </tr>\n                            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notif'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 125
     echo "                        </table>\n                        ";
     // line 127
     echo "                        <div class=\"navigation \">\n                            ";
     // line 128
     echo $this->env->getExtension('knp_pagination')->render($this->getContext($context, "pagination"));
     echo "\n                        </div>\n                </div><!-- /.box-body -->\n              </div><!-- /.box -->\n            </div><!-- /.col -->\n          </div><!-- /.row -->\n        </section><!-- /.content -->\n      </div><!-- /.content-wrapper -->\n         <footer class=\"main-footer hidden-print\">\n        <div class=\"pull-right hidden-xs\">\n          <b>Version</b> 2.0\n        </div>\n        <strong>Copyright &copy; 2015 <a href=\"#\">Cedric GUICHERD</a>.</strong> All rights reserved.\n      </footer>\n    </div><!-- ./wrapper -->\n  </body>\n</html>\n      ";
 }
 public function block_miniature($context, array $blocks = array())
 {
     // line 3
     echo "                          ";
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "notifs"));
     foreach ($context['_seq'] as $context["_key"] => $context["notif"]) {
         // line 4
         echo "                       <li>\n                        <a href=\"";
         // line 5
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_notification_page_details", array("id_notif" => $this->getAttribute($context["notif"], "id", array()))), "html", null, true);
         echo "\">\n                          <div class=\"pull-left\">\n                            <img src=\"";
         // line 7
         echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("css/dist/img/user2-160x160.jpg"), "html", null, true);
         echo "\" class=\"img-circle\" alt=\"user image\"/>\n                          </div>\n                          <h4>\n                              ";
         // line 10
         if (!(null === $this->getAttribute($context["notif"], "eventAssocie", array()))) {
             // line 11
             echo "                                ";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "eventAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
             echo "\n                              ";
         } else {
             // line 13
             echo "                                ";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($context["notif"], "HSFAssocie", array()), "Agent", array()), "NomCanonique", array()), "html", null, true);
             echo "\n                              ";
         }
         // line 15
         echo "                            <small><i class=\"fa fa-clock-o \"></i>\n                                ";
         // line 16
         if (twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y") == twig_date_format_filter($this->env, "now", "d m Y")) {
             // line 17
             echo "                                        aujourd'hui\n                                    ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y") == twig_date_format_filter($this->env, twig_date_modify_filter($this->env, "now", "-1 day"), "d m Y")) {
             // line 19
             echo "                                        hier\n                                    ";
         } else {
             // line 21
             echo "                                        <span class=\"text-bold\">";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "d m Y") - twig_date_format_filter($this->env, $this->getAttribute($context["notif"], "dateCreation", array()), "d m Y"), "html", null, true);
             echo "</span> jours \n                                ";
         }
         // line 23
         echo "                            </small>\n                          </h4>\n                          <h4>\n                              <span style=\"color: #777777\">";
         // line 26
         echo twig_escape_filter($this->env, $this->getAttribute($context["notif"], "title", array()), "html", null, true);
         echo "</span>\n                            ";
         // line 27
         if ($this->getAttribute($context["notif"], "visionee", array())) {
             // line 28
             echo "                              <small style=\"color: green;\"><i class=\"fa fa-chevron-circle-down fa-lg\"></i>\n                                vu\n                              </small>\n                             ";
         }
         // line 31
         echo " \n                          </h4>\n                            \n                        </a>\n                       </li>\n                       \n                      ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notif'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 38
     echo "                      ";
 }