protected function doDisplay(array $context, array $blocks = array()) { // line 3 echo "\n<!DOCTYPE HTML>\n<html lang=\"es\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Gracias por contactar</title>\n </head>\n <body>\n <table>\n <tbody>\n <tr>\n <td>\n <p>Hola "; // line 15 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute(isset($context["contact"]) ? $context["contact"] : $this->getContext($context, "contact"), "nombre")), "html", null, true); echo "</p>\n </td>\n </tr>\n <tr>\n <td>\n <p>Gracias por contactar con PetFriends, en breve te enviaremos una respuesta a tu consulta :)</p>\n </td>\n </tr>\n <tr>\n <td>\n <p>Gracias y un saludo.</p>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n</html>\n"; }
public function block_summary($context, array $blocks = array()) { $__internal_2612829d236477b148a2590fb76bf29c5427fd6ee624375522983f1c78999d3b = $this->env->getExtension("native_profiler"); $__internal_2612829d236477b148a2590fb76bf29c5427fd6ee624375522983f1c78999d3b->enter($__internal_2612829d236477b148a2590fb76bf29c5427fd6ee624375522983f1c78999d3b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_2612829d236477b148a2590fb76bf29c5427fd6ee624375522983f1c78999d3b->leave($__internal_2612829d236477b148a2590fb76bf29c5427fd6ee624375522983f1c78999d3b_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_f3546de78240d4b398e8332ee5cdd9927d02ff6e15dbb49e8a8379ea43d8363e = $this->env->getExtension("native_profiler"); $__internal_f3546de78240d4b398e8332ee5cdd9927d02ff6e15dbb49e8a8379ea43d8363e->enter($__internal_f3546de78240d4b398e8332ee5cdd9927d02ff6e15dbb49e8a8379ea43d8363e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_f3546de78240d4b398e8332ee5cdd9927d02ff6e15dbb49e8a8379ea43d8363e->leave($__internal_f3546de78240d4b398e8332ee5cdd9927d02ff6e15dbb49e8a8379ea43d8363e_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_623a23ad0faa9e5af3213b90e1db2f834f7402e8f9317c68f83ffe158b18ce31 = $this->env->getExtension("native_profiler"); $__internal_623a23ad0faa9e5af3213b90e1db2f834f7402e8f9317c68f83ffe158b18ce31->enter($__internal_623a23ad0faa9e5af3213b90e1db2f834f7402e8f9317c68f83ffe158b18ce31_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_623a23ad0faa9e5af3213b90e1db2f834f7402e8f9317c68f83ffe158b18ce31->leave($__internal_623a23ad0faa9e5af3213b90e1db2f834f7402e8f9317c68f83ffe158b18ce31_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_62bdbb4a3300bed8d20941c03c9218e1a3da3b35ec5b7c2bf4dd58ae1a57c449 = $this->env->getExtension("native_profiler"); $__internal_62bdbb4a3300bed8d20941c03c9218e1a3da3b35ec5b7c2bf4dd58ae1a57c449->enter($__internal_62bdbb4a3300bed8d20941c03c9218e1a3da3b35ec5b7c2bf4dd58ae1a57c449_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_62bdbb4a3300bed8d20941c03c9218e1a3da3b35ec5b7c2bf4dd58ae1a57c449->leave($__internal_62bdbb4a3300bed8d20941c03c9218e1a3da3b35ec5b7c2bf4dd58ae1a57c449_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_46c19652107a06e9d5ea1d0610383fa63b133e00aa6e771478fe82904ef954bd = $this->env->getExtension("native_profiler"); $__internal_46c19652107a06e9d5ea1d0610383fa63b133e00aa6e771478fe82904ef954bd->enter($__internal_46c19652107a06e9d5ea1d0610383fa63b133e00aa6e771478fe82904ef954bd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_46c19652107a06e9d5ea1d0610383fa63b133e00aa6e771478fe82904ef954bd->leave($__internal_46c19652107a06e9d5ea1d0610383fa63b133e00aa6e771478fe82904ef954bd_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_41bd651cafc67dc1f28272ab814954c6326959acd68fb90ac37c15682b7b6f4b = $this->env->getExtension("native_profiler"); $__internal_41bd651cafc67dc1f28272ab814954c6326959acd68fb90ac37c15682b7b6f4b->enter($__internal_41bd651cafc67dc1f28272ab814954c6326959acd68fb90ac37c15682b7b6f4b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_41bd651cafc67dc1f28272ab814954c6326959acd68fb90ac37c15682b7b6f4b->leave($__internal_41bd651cafc67dc1f28272ab814954c6326959acd68fb90ac37c15682b7b6f4b_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_184dc5b6726d3f4aeeea4d77c23420ff4d6ded550e9bca520df08cc6b40597d1 = $this->env->getExtension("native_profiler"); $__internal_184dc5b6726d3f4aeeea4d77c23420ff4d6ded550e9bca520df08cc6b40597d1->enter($__internal_184dc5b6726d3f4aeeea4d77c23420ff4d6ded550e9bca520df08cc6b40597d1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_184dc5b6726d3f4aeeea4d77c23420ff4d6ded550e9bca520df08cc6b40597d1->leave($__internal_184dc5b6726d3f4aeeea4d77c23420ff4d6ded550e9bca520df08cc6b40597d1_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_6f9c99ca8c4981e989eb079c362bdb2ed767a5c8f0a86aa1f7e36c64d947f6d2 = $this->env->getExtension("native_profiler"); $__internal_6f9c99ca8c4981e989eb079c362bdb2ed767a5c8f0a86aa1f7e36c64d947f6d2->enter($__internal_6f9c99ca8c4981e989eb079c362bdb2ed767a5c8f0a86aa1f7e36c64d947f6d2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_6f9c99ca8c4981e989eb079c362bdb2ed767a5c8f0a86aa1f7e36c64d947f6d2->leave($__internal_6f9c99ca8c4981e989eb079c362bdb2ed767a5c8f0a86aa1f7e36c64d947f6d2_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_6bd4cb388c83def2d5de2ccd0f1c3117e0675f2005d581329d5372b9b03b86bb = $this->env->getExtension("native_profiler"); $__internal_6bd4cb388c83def2d5de2ccd0f1c3117e0675f2005d581329d5372b9b03b86bb->enter($__internal_6bd4cb388c83def2d5de2ccd0f1c3117e0675f2005d581329d5372b9b03b86bb_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_6bd4cb388c83def2d5de2ccd0f1c3117e0675f2005d581329d5372b9b03b86bb->leave($__internal_6bd4cb388c83def2d5de2ccd0f1c3117e0675f2005d581329d5372b9b03b86bb_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_677f0e93ea9a495672ed9a17685846bde2ca4d64628cab74e33b762bff8e510b = $this->env->getExtension("native_profiler"); $__internal_677f0e93ea9a495672ed9a17685846bde2ca4d64628cab74e33b762bff8e510b->enter($__internal_677f0e93ea9a495672ed9a17685846bde2ca4d64628cab74e33b762bff8e510b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_677f0e93ea9a495672ed9a17685846bde2ca4d64628cab74e33b762bff8e510b->leave($__internal_677f0e93ea9a495672ed9a17685846bde2ca4d64628cab74e33b762bff8e510b_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_3f675d9b22f4afac316c58a3c1fdde7e67dcafae08237ed9dd63e10448c50c51 = $this->env->getExtension("native_profiler"); $__internal_3f675d9b22f4afac316c58a3c1fdde7e67dcafae08237ed9dd63e10448c50c51->enter($__internal_3f675d9b22f4afac316c58a3c1fdde7e67dcafae08237ed9dd63e10448c50c51_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_3f675d9b22f4afac316c58a3c1fdde7e67dcafae08237ed9dd63e10448c50c51->leave($__internal_3f675d9b22f4afac316c58a3c1fdde7e67dcafae08237ed9dd63e10448c50c51_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_adb5b758029844c29ea2e41e7551d6b616f6f1f451022832914cb5770583cae0 = $this->env->getExtension("native_profiler"); $__internal_adb5b758029844c29ea2e41e7551d6b616f6f1f451022832914cb5770583cae0->enter($__internal_adb5b758029844c29ea2e41e7551d6b616f6f1f451022832914cb5770583cae0_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_adb5b758029844c29ea2e41e7551d6b616f6f1f451022832914cb5770583cae0->leave($__internal_adb5b758029844c29ea2e41e7551d6b616f6f1f451022832914cb5770583cae0_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_a86d760c7aba9833415f359a1ec55d84331c71144f24a040114d7b65902540b5 = $this->env->getExtension("native_profiler"); $__internal_a86d760c7aba9833415f359a1ec55d84331c71144f24a040114d7b65902540b5->enter($__internal_a86d760c7aba9833415f359a1ec55d84331c71144f24a040114d7b65902540b5_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_a86d760c7aba9833415f359a1ec55d84331c71144f24a040114d7b65902540b5->leave($__internal_a86d760c7aba9833415f359a1ec55d84331c71144f24a040114d7b65902540b5_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_37b58079b97a91e7572123b195216af510915266fb19d5f9fd6584d76db2004d = $this->env->getExtension("native_profiler"); $__internal_37b58079b97a91e7572123b195216af510915266fb19d5f9fd6584d76db2004d->enter($__internal_37b58079b97a91e7572123b195216af510915266fb19d5f9fd6584d76db2004d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_37b58079b97a91e7572123b195216af510915266fb19d5f9fd6584d76db2004d->leave($__internal_37b58079b97a91e7572123b195216af510915266fb19d5f9fd6584d76db2004d_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_6e591c98f5785200c56de9e18c1d524f822b32a9545f570bd51f966d5d0a7440 = $this->env->getExtension("native_profiler"); $__internal_6e591c98f5785200c56de9e18c1d524f822b32a9545f570bd51f966d5d0a7440->enter($__internal_6e591c98f5785200c56de9e18c1d524f822b32a9545f570bd51f966d5d0a7440_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_6e591c98f5785200c56de9e18c1d524f822b32a9545f570bd51f966d5d0a7440->leave($__internal_6e591c98f5785200c56de9e18c1d524f822b32a9545f570bd51f966d5d0a7440_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_6bb1dada7d2532ae2c4e9cd01947fc738d5a81660e92890dc2cc17a6752ae9b7 = $this->env->getExtension("native_profiler"); $__internal_6bb1dada7d2532ae2c4e9cd01947fc738d5a81660e92890dc2cc17a6752ae9b7->enter($__internal_6bb1dada7d2532ae2c4e9cd01947fc738d5a81660e92890dc2cc17a6752ae9b7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_6bb1dada7d2532ae2c4e9cd01947fc738d5a81660e92890dc2cc17a6752ae9b7->leave($__internal_6bb1dada7d2532ae2c4e9cd01947fc738d5a81660e92890dc2cc17a6752ae9b7_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_0adc355c1823ea200d2d498595d268b70722505c203934ec720271b249ac4001 = $this->env->getExtension("native_profiler"); $__internal_0adc355c1823ea200d2d498595d268b70722505c203934ec720271b249ac4001->enter($__internal_0adc355c1823ea200d2d498595d268b70722505c203934ec720271b249ac4001_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_0adc355c1823ea200d2d498595d268b70722505c203934ec720271b249ac4001->leave($__internal_0adc355c1823ea200d2d498595d268b70722505c203934ec720271b249ac4001_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_0873e15320aca26747141ccc5449d24d8320aaa1d0383c33fbc450bf956b5ef7 = $this->env->getExtension("native_profiler"); $__internal_0873e15320aca26747141ccc5449d24d8320aaa1d0383c33fbc450bf956b5ef7->enter($__internal_0873e15320aca26747141ccc5449d24d8320aaa1d0383c33fbc450bf956b5ef7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_0873e15320aca26747141ccc5449d24d8320aaa1d0383c33fbc450bf956b5ef7->leave($__internal_0873e15320aca26747141ccc5449d24d8320aaa1d0383c33fbc450bf956b5ef7_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_5067ef18c89fdbd21a515c46f1f1c6e94889d36e15223cdc4ed5f7db267b502d = $this->env->getExtension("native_profiler"); $__internal_5067ef18c89fdbd21a515c46f1f1c6e94889d36e15223cdc4ed5f7db267b502d->enter($__internal_5067ef18c89fdbd21a515c46f1f1c6e94889d36e15223cdc4ed5f7db267b502d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_5067ef18c89fdbd21a515c46f1f1c6e94889d36e15223cdc4ed5f7db267b502d->leave($__internal_5067ef18c89fdbd21a515c46f1f1c6e94889d36e15223cdc4ed5f7db267b502d_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_65a126ec1d51336ab6abd8c4e2c55eeaaaa942f94d8a3ff9c740e82206870594 = $this->env->getExtension("native_profiler"); $__internal_65a126ec1d51336ab6abd8c4e2c55eeaaaa942f94d8a3ff9c740e82206870594->enter($__internal_65a126ec1d51336ab6abd8c4e2c55eeaaaa942f94d8a3ff9c740e82206870594_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_65a126ec1d51336ab6abd8c4e2c55eeaaaa942f94d8a3ff9c740e82206870594->leave($__internal_65a126ec1d51336ab6abd8c4e2c55eeaaaa942f94d8a3ff9c740e82206870594_prof); }
public function block_summary($context, array $blocks = array()) { $__internal_019540c4b80be34c1b8934f8632c37e2612b9423baa414184bccf3e9ceb518bd = $this->env->getExtension("native_profiler"); $__internal_019540c4b80be34c1b8934f8632c37e2612b9423baa414184bccf3e9ceb518bd->enter($__internal_019540c4b80be34c1b8934f8632c37e2612b9423baa414184bccf3e9ceb518bd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "summary")); // line 27 echo " <div class=\"status status-"; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array()), "html", null, true); echo "\">\n <div class=\"container\">\n <h2>"; // line 29 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["messages"]) ? $context["messages"] : $this->getContext($context, "messages"), isset($context["about"]) ? $context["about"] : $this->getContext($context, "about"), array(), "array"), "status", array())), "html", null, true); echo "</h2>\n </div>\n </div>\n"; $__internal_019540c4b80be34c1b8934f8632c37e2612b9423baa414184bccf3e9ceb518bd->leave($__internal_019540c4b80be34c1b8934f8632c37e2612b9423baa414184bccf3e9ceb518bd_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<input type=\"checkbox\" class=\"settings-param-toggle\" id=\"of-"; echo twig_escape_filter($this->env, (isset($context["scope"]) ? $context["scope"] : null) . (isset($context["name"]) ? $context["name"] : null)); echo "\""; echo (isset($context["value"]) ? $context["value"] : null) != (isset($context["default_value"]) ? $context["default_value"] : null) ? " checked=\"checked\"" : ""; echo " role=\"checkbox\" aria-label=\""; echo twig_escape_filter($this->env, twig_replace_filter($this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_OVERRIDE_CHECKBOX"), array("%s" => trim(twig_title_string_filter($this->env, twig_replace_filter((isset($context["scope"]) ? $context["scope"] : null) . (isset($context["name"]) ? $context["name"] : null), array("." => " ")))))), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_replace_filter($this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_OVERRIDE_CHECKBOX"), array("%s" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "label", array()))), "html", null, true); echo "\" />\n<label class=\"settings-param-override\" for=\"of-"; // line 2 echo twig_escape_filter($this->env, (isset($context["scope"]) ? $context["scope"] : null) . (isset($context["name"]) ? $context["name"] : null)); echo "\"></label>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 3 echo "\n<!DOCTYPE HTML>\n<html lang=\"es\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Nuevo mensaje</title>\n </head>\n <body>\n <table>\n <tbody>\n <tr>\n <td>\n <p>Nuevo mensaje recibido:</p>\n </td>\n </tr>\n <tr>\n <td>\n <ul>\n <li><strong>Asunto</strong>:"; // line 21 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute(isset($context["contact"]) ? $context["contact"] : $this->getContext($context, "contact"), "asunto")), "html", null, true); echo "</li>\n <li><strong>Nombre</strong>:"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["contact"]) ? $context["contact"] : $this->getContext($context, "contact"), "nombre"), "html", null, true); echo "</li>\n <li><strong>Email</strong>: "; // line 23 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["contact"]) ? $context["contact"] : $this->getContext($context, "contact"), "email"), "html", null, true); echo "</li>\n <li><strong>Message</strong>: "; // line 24 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["contact"]) ? $context["contact"] : $this->getContext($context, "contact"), "mensaje"), "html", null, true); echo "</li>\n </ul>\n </td>\n </tr>\n </tbody>\n </table>\n </body>\n</html>"; }
public function block_input($context, array $blocks = array()) { // line 4 echo " <span class=\"enabler\" role=\"checkbox\" aria-checked=\""; echo isset($context["value"]) ? $context["value"] : null ? "true" : "false"; echo "\" tabindex=\"0\" aria-label=\""; echo twig_escape_filter($this->env, isset($context["disabled"]) ? $context["disabled"] : null ? "Disabled" : "Enables " . _twig_default_filter(trim(twig_title_string_filter($this->env, twig_replace_filter(isset($context["scope"]) ? $context["scope"] : null, array("." => " ")))), trim(isset($context["title"]) ? $context["title"] : null)), "html", null, true); echo "\">\n <input\n "; // line 7 echo " type=\"hidden\"\n name=\""; // line 8 echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->fieldNameFilter((isset($context["scope"]) ? $context["scope"] : null) . (isset($context["name"]) ? $context["name"] : null))); echo "\"\n value=\""; // line 9 echo isset($context["value"]) ? $context["value"] : null ? 1 : 0; echo "\"\n "; // line 10 if (isset($context["disabled"]) ? $context["disabled"] : null) { echo "disabled=\"disabled\""; } // line 11 echo " "; // line 12 echo " "; $this->displayBlock("global_attributes", $context, $blocks); echo "\n />\n "; // line 14 if (isset($context["disabled"]) ? $context["disabled"] : null) { // line 15 echo " <span><i class=\"fa fa-power-off\"></i></span>\n "; } else { // line 17 echo " <span class=\"toggle\"><span class=\"knob\"></span></span>\n "; } // line 19 echo "</span>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 2 $context["title"] = \Craft\Craft::t("Sections"); // line 4 $context["crumbs"] = array(0 => array("label" => \Craft\Craft::t("Settings"), "url" => \Craft\UrlHelper::getUrl("settings"))); // line 8 $context["docsUrl"] = "http://buildwithcraft.com/docs/sections-and-entries#sections"; // line 11 ob_start(); // line 12 echo "\t<div id=\"nosections\""; if ($this->getContext($context, "sections")) { echo " class=\"hidden\""; } echo ">\n\t\t<p>"; // line 13 echo twig_escape_filter($this->env, \Craft\Craft::t("No sections exist yet."), "html", null, true); echo "</p>\n\t</div>\n\n\t"; // line 16 if (twig_length_filter($this->env, $this->getContext($context, "sections"))) { // line 17 echo "\t\t<table id=\"sections\" class=\"data fullwidth collapsible\">\n\t\t\t<thead>\n\t\t\t\t<th scope=\"col\">"; // line 19 echo twig_escape_filter($this->env, \Craft\Craft::t("Name"), "html", null, true); echo "</th>\n\t\t\t\t<th scope=\"col\">"; // line 20 echo twig_escape_filter($this->env, \Craft\Craft::t("Handle"), "html", null, true); echo "</th>\n\t\t\t\t<th scope=\"col\">"; // line 21 echo twig_escape_filter($this->env, \Craft\Craft::t("Type"), "html", null, true); echo "</th>\n\t\t\t\t<th scope=\"col\">"; // line 22 echo twig_escape_filter($this->env, \Craft\Craft::t("URL Format"), "html", null, true); echo "</th>\n\t\t\t\t<th scope=\"col\">"; // line 23 echo twig_escape_filter($this->env, \Craft\Craft::t("Entry Types"), "html", null, true); echo "</th>\n\t\t\t\t<td class=\"thin\"></td>\n\t\t\t</thead>\n\t\t\t<tbody>\n\t\t\t\t"; // line 27 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "sections")); foreach ($context['_seq'] as $context["_key"] => $context["section"]) { // line 28 echo "\t\t\t\t\t<tr data-id=\""; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "id"), "html", null, true); echo "\" data-name=\""; echo twig_escape_filter($this->env, \Craft\Craft::t($this->getAttribute($this->getContext($context, "section"), "name")), "html", null, true); echo "\">\n\t\t\t\t\t\t<th scope=\"row\" data-title=\""; // line 29 echo twig_escape_filter($this->env, \Craft\Craft::t("Name"), "html", null, true); echo "\"><a href=\""; echo twig_escape_filter($this->env, \Craft\UrlHelper::getUrl("settings/sections/" . $this->getAttribute($this->getContext($context, "section"), "id")), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, \Craft\Craft::t($this->getAttribute($this->getContext($context, "section"), "name")), "html", null, true); echo "</a></th>\n\t\t\t\t\t\t<td data-title=\""; // line 30 echo twig_escape_filter($this->env, \Craft\Craft::t("Handle"), "html", null, true); echo "\"><code>"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "handle"), "html", null, true); echo "</code></td>\n\t\t\t\t\t\t<td data-title=\""; // line 31 echo twig_escape_filter($this->env, \Craft\Craft::t("Type"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, \Craft\Craft::t(twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "type"))), "html", null, true); echo "</td>\n\t\t\t\t\t\t<td data-title=\""; // line 32 echo twig_escape_filter($this->env, \Craft\Craft::t("URL Format"), "html", null, true); echo "\" dir=\"ltr\">"; // line 33 if ($this->getAttribute($this->getContext($context, "section"), "isHomepage", array(), "method")) { // line 34 echo "<div data-icon=\"home\" title=\""; echo twig_escape_filter($this->env, \Craft\Craft::t("Homepage"), "html", null, true); echo "\"></div>"; } else { // line 36 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "getUrlFormat", array(), "method"), "html", null, true); } // line 38 echo "</td>\n\t\t\t\t\t\t<td data-title=\""; // line 39 echo twig_escape_filter($this->env, \Craft\Craft::t("Entry Types"), "html", null, true); echo "\">\n\t\t\t\t\t\t\t"; // line 40 if ($this->getAttribute($this->getContext($context, "section"), "type") == "single" && twig_length_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "getEntryTypes", array(), "method")) == 1) { // line 41 echo "\t\t\t\t\t\t\t\t"; $context["entryType"] = $this->getAttribute($this->getAttribute($this->getContext($context, "section"), "getEntryTypes", array(), "method"), 0, array(), "array"); // line 42 echo "\t\t\t\t\t\t\t\t<a href=\""; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "entryType"), "getCpEditUrl", array(), "method"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, \Craft\Craft::t("Edit entry type"), "html", null, true); echo "</a>\n\t\t\t\t\t\t\t"; } else { // line 44 echo "\t\t\t\t\t\t\t\t<a href=\""; echo twig_escape_filter($this->env, \Craft\UrlHelper::getUrl("settings/sections/" . $this->getAttribute($this->getContext($context, "section"), "id") . "/entrytypes"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, \Craft\Craft::t("Edit entry types ({count})", array("count" => twig_length_filter($this->env, $this->getAttribute($this->getContext($context, "section"), "getEntryTypes", array(), "method")))), "html", null, true); echo "</a>\n\t\t\t\t\t\t\t\t<a class=\"menubtn\" title=\""; // line 45 echo twig_escape_filter($this->env, \Craft\Craft::t("Entry Types"), "html", null, true); echo "\"></a>\n\t\t\t\t\t\t\t\t<div class=\"menu\">\n\t\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t\t"; // line 48 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "section"), "getEntryTypes", array(), "method")); foreach ($context['_seq'] as $context["_key"] => $context["entryType"]) { // line 49 echo "\t\t\t\t\t\t\t\t\t\t\t<li><a href=\""; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "entryType"), "getCpEditUrl", array(), "method"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "entryType"), "name"), "html", null, true); echo "</a></li>\n\t\t\t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entryType'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 echo "\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t"; } // line 54 echo "\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td class=\"thin\"><a class=\"delete icon\" title=\""; // line 55 echo twig_escape_filter($this->env, \Craft\Craft::t("Delete"), "html", null, true); echo "\" role=\"button\"></a></td>\n\t\t\t\t\t</tr>\n\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 58 echo "\t\t\t</tbody>\n\t\t</table>\n\t"; } // line 61 echo "\n\t<div id=\"newsectioncontainer\" class=\"buttons"; // line 62 if ($this->getContext($context, "CraftEdition") == $this->getContext($context, "CraftPersonal") && twig_length_filter($this->env, $this->getContext($context, "sections")) >= $this->getContext($context, "maxSections")) { echo " hidden"; } echo "\">\n\t\t<a href=\""; // line 63 echo twig_escape_filter($this->env, \Craft\UrlHelper::getUrl("settings/sections/new"), "html", null, true); echo "\" class=\"btn submit add icon\">"; echo twig_escape_filter($this->env, \Craft\Craft::t("New Section"), "html", null, true); echo "</a>\n\t</div>\n"; $context["content"] = '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); // line 68 ob_start(); // line 69 echo "\tvar adminTable = new Craft.AdminTable({\n\t\ttableSelector: '#sections',\n\t\tnoObjectsSelector: '#nosections',\n\t\tnewObjectBtnSelector: '#newsectioncontainer',\n\t\tdeleteAction: 'sections/deleteSection',\n\t\tconfirmDeleteMessage: '"; // line 74 echo twig_escape_filter($this->env, \Craft\Craft::t("Are you sure you want to delete “{name}” and all its entries?"), "html", null, true); echo "',\n\t\t"; // line 75 if ($this->getContext($context, "CraftEdition") == $this->getContext($context, "CraftPersonal")) { echo "maxObjects: "; echo twig_escape_filter($this->env, $this->getContext($context, "maxSections"), "html", null, true); echo ","; } // line 76 echo "\t\tonDeleteObject: function()\n\t\t{\n\t\t\t// Hide the Entries tab if that was the last one\n\t\t\tif (adminTable.totalObjects == 0)\n\t\t\t{\n\t\t\t\t\$('#nav-entries').remove();\n\t\t\t}\n\t\t}\n\t});\n"; $context["js"] = '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); // line 86 \Craft\craft()->templates->includeJs($this->getContext($context, "js")); $this->parent->display($context, array_merge($this->blocks, $blocks)); }
public function getlist_folder($_folder = null) { $context = $this->env->mergeGlobals(array("folder" => $_folder)); $blocks = array(); ob_start(); try { // line 121 echo " <tr data-droppable data-entity data-entity-id=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "html", null, true); echo "\" data-entity-type=\"folder\"\n data-entity-info=\""; // line 122 echo twig_escape_filter($this->env, twig_jsonencode_filter(isset($context["folder"]) ? $context["folder"] : null), "html", null, true); echo "\">\n <th scope=\"row\" class=\"check-column\">\n <label class=\"screen-reader-text\"\n for=\"cb-select-"; // line 125 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, sprintf(call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Select %s")), $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "title")), "html", null, true); echo "</label>\n <input type=\"checkbox\" name=\"folder[]\" id=\"cb-select-"; // line 126 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "html", null, true); echo "\"\n data-observable>\n </th>\n <td class=\"column-icon media-icon\" style=\"position: relative;\">\n <a href=\""; // line 130 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["environment"]) ? $context["environment"] : null, "generateUrl", array(0 => "photos", 1 => "view", 2 => array("folder_id" => $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "view" => "list")), "method"), "html", null, true); echo "\"\n data-colorbox>\n <img width=\"60\" height=\"60\"\n src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAADIAQMAAAAwS4omAAAAA1BMVEXk5+pYcSvrAAAAG0lEQVRIie3BMQEAAADCoPVPbQwfoAAAAIC3AQ+gAAEq5xQCAAAAAElFTkSuQmCC\"\n class=\"attachment-80x60 supsystic-lazy\" alt=\""; // line 134 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "title"), "html", null, true); echo "\">\n </a>\n\n <div style=\"position: absolute; top: 20px; left: 31px; color: #bdc3c7; z-index: 100;\">\n <i class=\"fa fa-folder-open-o\" style=\"font-size: 3em;\"></i>\n </div>\n </td>\n <td class=\"title column-title\">\n <strong>\n <a href=\""; // line 143 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["environment"]) ? $context["environment"] : null, "generateUrl", array(0 => "photos", 1 => "view", 2 => array("folder_id" => $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "id"), "view" => "list")), "method"), "html", null, true); echo "\">\n <span class=\"folder-title\">"; // line 144 echo twig_title_string_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "title")); echo "</span>\n </a>\n </strong>\n\n <p>\n <span class=\"gg-folder-photos-num\">\n "; // line 150 echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "photos")), "html", null, true); echo "\n </span>\n "; // line 152 if (twig_length_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "photos")) == 1) { // line 153 echo " "; echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("photo")), "html", null, true); echo "\n "; } else { // line 155 echo " "; echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("photos")), "html", null, true); echo "\n "; } // line 157 echo " </p>\n </td>\n <td class=\"date column-date\">"; // line 159 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["folder"]) ? $context["folder"] : null, "date"), "html", null, true); echo "</td>\n </tr>\n"; } catch (Exception $e) { ob_end_clean(); throw $e; } return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); }
public function block_global_attributes($context, array $blocks = array()) { // line 44 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "class", array(), "any", true, true)) { echo " class=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "class", array())); echo "\" "; } // line 45 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "id", array(), "any", true, true)) { echo " id=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "id", array())); echo "\" "; } // line 46 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "style", array(), "any", true, true)) { echo " style=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "style", array())); echo "\" "; } // line 47 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "title", array(), "any", true, true)) { echo " title=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "title", array())); echo "\" "; } // line 48 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "override_target", array(), "any", true, true)) { echo " data-override-target=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "override_target", array()), "html_attr"); echo "\" "; } // line 49 echo " aria-label=\""; echo twig_escape_filter($this->env, trim(twig_title_string_filter($this->env, twig_replace_filter((isset($context["scope"]) ? $context["scope"] : null) . (isset($context["name"]) ? $context["name"] : null), array("." => " ")))), "html", null, true); echo "\"\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 | Fiche "; // line 5 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true); echo " "; echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true); echo "</title>\n <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>\n <style>\n span.badge {\n font-size: 13px;\n }\n .table-header-rotated td{\n\n border-top: 1px solid #dddddd;\n border-left: 1px solid #dddddd;\n border-right: 1px solid #dddddd;\n vertical-align: middle;\n text-align: center;\n }\n\n .table-header-rotated th.rotate-45{\n height: 80px;\n position: relative;\n vertical-align: bottom;\n padding: 0;\n font-size: 12px;\n line-height: 0.8;\n }\n\n .table-header-rotated th.rotate-45 > div{\n position: relative;\n top: 0px;\n left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/\n height: 100%;\n -ms-transform:skew(-45deg,0deg);\n -moz-transform:skew(-45deg,0deg);\n -webkit-transform:skew(-45deg,0deg);\n -o-transform:skew(-45deg,0deg);\n transform:skew(-45deg,0deg);\n overflow: hidden;\n border-left: 1px solid #dddddd;\n }\n\n .table-header-rotated th.rotate-45 span {\n -ms-transform:skew(45deg,0deg) rotate(315deg);\n -moz-transform:skew(45deg,0deg) rotate(315deg);\n -webkit-transform:skew(45deg,0deg) rotate(315deg);\n -o-transform:skew(45deg,0deg) rotate(315deg);\n transform:skew(45deg,0deg) rotate(315deg);\n position: absolute;\n bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/\n left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/\n // width: 100%;\n width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/\n text-align: left;\n // white-space: nowrap; /*whether to display in one line or not*/\n }\n .tp{\n width: 80px;\n }\n </style>\n </head>\n <body class=\"skin-blue\">\n <div class=\"wrapper\">\n \n "; // line 65 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 Fiche Agent - "; // line 71 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true); echo " "; echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true); echo "\n <small>\n "; // line 73 if (twig_date_format_filter($this->env, "now", "Ymd") < twig_date_format_filter($this->env, twig_date_converter($this->env, twig_date_format_filter($this->env, "now", "Y") . "0831"), "Ymd")) { // line 74 echo " 01/09/"; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") - 1, "html", null, true); echo " - 31/08/"; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo "\n "; } else { // line 76 echo " 01/09/"; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo " - 31/08/"; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true); echo "\n "; } // line 78 echo " </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\">Fiche agent</li>\n <li class=\"active\">"; // line 84 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true); echo " "; echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true); echo "</li>\n </ol>\n </section>\n "; // line 87 $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 88 echo " <br>\n <div class=\"alert alert-"; // line 89 echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "alert", array()), "html", null, true); echo " alert-dismissible col-md-8\" role=\"alert\">\n <button type=\"button\" class=\"close\" data-dismiss=\"alert\">\n <span aria-hidden=\"true\">×</span><span class=\"sr-only\">Close</span>\n </button>\n <strong>"; // line 93 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 96 echo " <!-- Main content -->\n <section class=\"content\">\n <div class=\"row\">\n <div class=\"col-md-8\" style=\"min-width: 850px\">\n \n <div class=\"row\">\n <div class=\"col-xs-6\">\n <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover \" >\n <tr>\n <th style=\"width: 10px\">#</th>\n <th>Désignation</th>\n <th style=\"width: 35%\" class=\"text-right\">Quantité</th>\n </tr>\n <tr>\n <td>1.</td>\n <td>Horaire Hebdomadaire</td>\n <td><span class=\"badge bg-red pull-right\">"; // line 114 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "VolHoraireHebdo", array()), "html", null, true); echo "</span></td>\n </tr>\n <tr>\n <td>2.</td>\n <td>Quotité de travail</td>\n <td><span class=\"badge bg-yellow pull-right\">"; // line 119 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "QuotiteTravail", array()), "html", null, true); echo " %</span></td>\n </tr>\n <tr>\n <td>3.</td>\n <td>Nombre de congé annuel restant </td>\n <td><span class=\"badge bg-light-blue pull-right\">"; // line 124 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "JoursRestant", array()), "html", null, true); echo " j</span></td>\n </tr>\n <tr>\n <td>4.</td>\n <td>Reliquat <small>(A prendre avant le 31 décembre \n "; // line 129 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 130 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo "\n "; } else { // line 132 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true); echo "\n "; } // line 133 echo ")</small></td>\n <td><span class=\"badge bg-green pull-right\">"; // line 134 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "ReliquatRestant", array()), "html", null, true); echo " j</span></td>\n </tr>\n <tr>\n <td>5.</td>\n <td>Heures supplémentaires <small>(A récupérer en ½ journées )</small></td>\n <td><span class=\"badge bg-orange pull-right\">"; // line 139 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "heuresSup", array()), "html", null, true); echo "</span></td>\n </tr>\n <tr>\n <td>6.</td>\n <td>Heures de fractionnement </td>\n "; // line 144 $context["hfrac"] = twig_split_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "heureFractionnement", array()), "."); // line 145 echo " <td><span class=\"badge bg-aqua-gradient pull-right\">"; if ($this->getAttribute($this->getContext($context, "hfrac", true), 0, array(), "any", true, true)) { echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "hfrac"), 0, array()), "html", null, true); echo "h"; } if ($this->getAttribute($this->getContext($context, "hfrac", true), 1, array(), "any", true, true)) { echo twig_escape_filter($this->env, twig_round($this->getAttribute($this->getContext($context, "hfrac"), 1, array()) * 0.6), "html", null, true); echo "0"; } echo "</span></td>\n </tr>\n <tr>\n <td>7.</td>\n <td>Chef de service</td>\n <td><span class=\"pull-right\">"; // line 150 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "agent"), "Service", array()), "ChefdeService", array()), "NomCanonique", array()), "html", null, true); echo "</span></td>\n </tr>\n \n "; // line 153 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 154 echo " <tr class=\"hidden-print\">\n <td colspan=\"3\"><a href=\""; // line 155 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_update_fiche_agent", array("id" => $this->getAttribute($this->getContext($context, "agent"), "id", array()))), "html", null, true); echo "\">Mettre à jour la fiche agent</a></td>\n </tr>\n "; } // line 158 echo " </table>\n </div><!-- /.box-body -->\n </div><!-- /.box -->\n </div><!-- column 1 of the box -->\n \n <div class=\"col-xs-6\">\n <div class=\"box\">\n <div class=\"box-body\">\n <table class=\"table table-striped table-header-rotated TP\" style=\"max-width: 500px\">\n <thead>\n <tr>\n <!-- First column header is not rotated -->\n <th></th>\n <!-- Following headers are rotated -->\n <th class=\"rotate-45\"><div><span>Lundi</span></div></th>\n <th class=\"rotate-45\"><div><span>Mardi</span></div></th>\n <th class=\"rotate-45\"><div><span>Mercredi</span></div></th>\n <th class=\"rotate-45\"><div><span>Jeudi</span></div></th>\n <th class=\"rotate-45\"><div><span>Vendredi</span></div></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>AM</th>\n <td class=\"tp\" id=\"matin-Monday\"></td>\n <td class=\"tp\" id=\"matin-Tuesday\"></td>\n <td class=\"tp\" id=\"matin-Wednesday\"></td>\n <td class=\"tp\" id=\"matin-Thursday\"></td>\n <td class=\"tp\" id=\"matin-Friday\"></td>\n\n </tr> \n <tr> \n <th>PM</th> \n <td class=\"tp\" id=\"aprem-Monday\"></td>\n <td class=\"tp\" id=\"aprem-Tuesday\"></td>\n <td class=\"tp\" id=\"aprem-Wednesday\"></td>\n <td class=\"tp\" id=\"aprem-Thursday\"></td>\n <td class=\"tp\" id=\"aprem-Friday\"></td>\n </tr>\n </tbody>\n </table>\n "; // line 199 if ($this->getAttribute($this->getContext($context, "agent"), "QuotiteTravail", array()) == 100) { // line 200 echo " <br><small class=\"pull-right\"> T : travaillé ARTT : Aménagement Réduction du Temps de Travail</small><br>\n "; } else { // line 202 echo " <br><small class=\"pull-right\"> T : travaillé TP : temps partiels</small><br>\n "; } // line 204 echo " \n \n </div><!-- /.box-body -->\n </div><!-- /.box -->\n </div>\n </div>\n <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover sortable\" id=\"data\">\n <thead>\n <tr>\n <td class=\"text-center text-bold\" colspan=\"9\">ABSENCES ANNUELLES</td>\n </tr>\n <tr>\n <th><span class=\"text-bold\">#</span></th>\n <th>Date de début</th>\n <th>Date de fin</th>\n <th data-tsorter=\"numeric\">Nombre de jours</th>\n <th>Type d'absence</th>\n <th>Demandée le</th>\n <th>Acceptée le</th>\n <th>Solde <abbr class=\"hidden-print\" title=\"Solde des congés validés\">*</abbr></th>\n "; // line 226 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 227 echo " <th class='hidden-print'>Action</th>\n "; } // line 229 echo " </tr>\n </thead>\n <tr >\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td id=\"ABS_ANN_SoldeSansCongeValide_0\">"; // line 239 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "NbJourCongeAnnuel", array()), "html", null, true); echo "</td>\n "; // line 240 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 241 echo " <td class=\"active\"></td>\n "; } // line 243 echo " <tr>\n "; // line 245 echo " "; $context["nbjourtotalAN"] = 0; // line 246 echo " "; $context["soldeTemp"] = $this->getAttribute($this->getContext($context, "agent"), "NbJourCongeAnnuel", array()); // line 247 echo " \n "; // line 248 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "absences")); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["absence"]) { // line 249 echo " <tr id =\""; echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "id", array()), "html", null, true); echo "\">\n <td><span class=\"text-bold\">"; // line 250 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 251 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "debut", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 252 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "fin", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 253 if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "2000-01-01", "d-m-Y") && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y") && ($this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 2 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 5) && $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) != 9 && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 258 echo " "; $context["nbjourtotalAN"] = $this->getContext($context, "nbjourtotalAN") + $this->getAttribute($context["absence"], "nbjournee", array()); echo " "; echo " \n "; } // line 260 echo " "; echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "nbjournee", array()), "html", null, true); echo "\n \n </td>\n <td>"; // line 263 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "name", array()), "html", null, true); echo "</td>\n <td>"; // line 264 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 "</td>\n <td> "; // line 265 if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 266 echo " En cours de traitement\n "; } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) { // line 268 echo " Refusé\n "; } elseif (null === $this->getAttribute($context["absence"], "Accepted", array())) { // line 270 echo " Envoyé\n "; } else { // line 272 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 "\n "; } // line 274 echo " </td>\n <td >\n "; // line 276 if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "2000-01-01", "d-m-Y") && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y") && ($this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 2 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 5 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 9) && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 280 echo " "; $context["soldeTemp"] = $this->getContext($context, "soldeTemp") - $this->getAttribute($context["absence"], "nbjournee", array()); echo " "; echo twig_escape_filter($this->env, $this->getContext($context, "soldeTemp"), "html", null, true); echo "\n "; } // line 282 echo " </td>\n "; // line 283 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 284 echo " <td class='hidden-print' >\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='"; // line 285 echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 290 echo " "; if ($this->getAttribute($context["loop"], "last", array())) { // line 291 echo " <tfoot>\n <tr >\n <th >Total</th>\n <th ></th>\n <th ></th>\n <th >"; // line 296 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourtotalAN"), "html", null, true); echo "</th>\n <th ></th>\n <th ></th>\n <th ></th>\n <th >"; // line 300 echo twig_escape_filter($this->env, $this->getContext($context, "soldeTemp"), "html", null, true); echo "</th>\n </tr> \n </tfoot> \n "; } // line 304 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['absence'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 305 echo " </table>\n </div>\n </div>\n "; // line 308 if (twig_length_filter($this->env, $this->getContext($context, "reliquats")) != 0) { // line 309 echo " <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover\">\n <tr>\n <td class=\"text-center \" colspan=\"9\"><span class=\"text-bold\">RELIQUATS</span><br>\n <small>\n ( A prendre avant le 31 décembre "; // line 315 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo " )\n </small>\n </tr>\n <tr>\n <th>#</th>\n <th>Date de début</th>\n <th>Date de Fin</th>\n <th>Demandée le</th>\n <th>Acceptée le</th>\n <th>Nombre de jours</th>\n <th>Solde</th>\n "; // line 326 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 327 echo " <th class='hidden-print'>Action</th>\n "; } // line 329 echo " </tr>\n <tr>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td class=\"active\"></td>\n <td>"; // line 337 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "Reliquat", array()), "html", null, true); echo "\n </td>\n <tr>\n "; // line 341 echo " "; $context["nbjourTotalReli"] = 0; // line 342 echo " "; $context["SoldeTempReli"] = $this->getAttribute($this->getContext($context, "agent"), "Reliquat", array()); // line 343 echo " \n "; // line 344 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "reliquats")); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["reliquat"]) { // line 345 echo " \n "; // line 346 $context["nbjourTotalReli"] = $this->getContext($context, "nbjourTotalReli") + $this->getAttribute($context["reliquat"], "nbjournee", array()); // line 347 echo " "; $context["SoldeTempReli"] = $this->getContext($context, "SoldeTempReli") - $this->getAttribute($context["reliquat"], "nbjournee", array()); // line 348 echo " <tr id =\""; echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "id", array()), "html", null, true); echo "\">\n <td><span class=\"text-bold\">"; // line 349 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 350 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "debut", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 351 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "fin", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 352 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "DemandeLe", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td> "; // line 353 if (twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 354 echo " En cours de traitement\n "; } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) { // line 356 echo " Refusé\n "; } elseif (null === $this->getAttribute($context["reliquat"], "Accepted", array())) { // line 358 echo " Envoyé\n "; } else { // line 360 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y"), "html", null, true); echo "\n "; } // line 362 echo " </td>\n <td class=\"demiJ2\">"; // line 363 echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "nbjournee", array()), "html", null, true); echo "</td>\n <td>"; // line 364 echo twig_escape_filter($this->env, $this->getContext($context, "SoldeTempReli"), "html", null, true); echo "</td>\n "; // line 365 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 366 echo " <td class='hidden-print'>\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='"; // line 367 echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 372 echo " </tr>\n "; // line 373 if ($this->getAttribute($context["loop"], "last", array())) { // line 374 echo " <tfoot>\n <tr class=\"\">\n <th colspan=\"5\">Total</th>\n <th >"; // line 377 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalReli"), "html", null, true); echo "</th>\n <th >"; // line 378 echo twig_escape_filter($this->env, $this->getContext($context, "SoldeTempReli"), "html", null, true); echo "</th>\n </tr> \n </tfoot> \n "; } // line 382 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reliquat'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 383 echo " </table>\n </div>\n </div>\n "; } // line 387 echo " "; if (twig_length_filter($this->env, $this->getContext($context, "MissForm")) != 0) { // line 388 echo " <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover\">\n <tr>\n <td class=\"text-center text-bold\" colspan=\"9\">FORMATION - MISSION</td>\n </tr>\n <tr >\n <th>#</th>\n <th>Date de début</th>\n <th>Date de Fin</th>\n <th>Type d'absence</th>\n <th>Demandée le</th>\n <th>Nombre de jours</th>\n "; // line 401 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 402 echo " <th class='hidden-print'>Action</th>\n "; } // line 404 echo " </tr>\n "; // line 406 echo " "; $context["nbjourTotalMissForm"] = 0; echo " \n \n "; // line 408 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($context["MissForm"]); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["MissForm"]) { // line 409 echo " "; $context["nbjourTotalMissForm"] = $this->getContext($context, "nbjourTotalMissForm") + $this->getAttribute($context["MissForm"], "nbjournee", array()); // line 410 echo " <tr id =\""; echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "id", array()), "html", null, true); echo "\">\n <td><span class=\"text-bold\">"; // line 411 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 412 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "debut", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 413 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "fin", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 414 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["MissForm"], "Category", array()), "name", array()), "html", null, true); echo "</td>\n <td>"; // line 415 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "DemandeLe", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td class=\"demiJ2\">"; // line 416 echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "nbjournee", array()), "html", null, true); echo "</td>\n "; // line 417 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 418 echo " <td >\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='"; // line 419 echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 424 echo " </tr>\n "; // line 425 if ($this->getAttribute($context["loop"], "last", array())) { // line 426 echo " <tfoot>\n <tr class=\"\">\n <th colspan=\"5\">Total</th>\n <th>"; // line 429 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalMissForm"), "html", null, true); echo "</th>\n </tr> \n </tfoot> \n "; } // line 433 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['MissForm'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 434 echo " </table>\n </div>\n </div>\n "; } // line 438 echo " "; if (twig_length_filter($this->env, $this->getContext($context, "tabASA")) != 0) { // line 439 echo " <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover\" id=\"table_asa\">\n <tr>\n <td class=\"text-center text-bold\" colspan=\"9\">Autorisation Spéciale d'Absence<br>\n <small id=\"annee_asa\">Année universitaire</small>\n </td>\n </tr>\n <tr>\n <th>#</th>\n <th>Date de début</th>\n <th>Date de Fin</th>\n <th>Nombre de jours</th>\n <th>Demandée le</th>\n <th>Acceptée le</th>\n <th>Commentaire</th>\n "; // line 455 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 456 echo " <th class='hidden-print' >Action</th>\n "; } // line 458 echo " </tr>\n "; // line 460 echo " "; $context["nbjourTotalASA"] = 0; echo " \n \n "; // line 462 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "tabASA")); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["ASA"]) { // line 463 echo " "; $context["nbjourTotalASA"] = $this->getContext($context, "nbjourTotalASA") + $this->getAttribute($context["ASA"], "nbjournee", array()); // line 464 echo " <tr id =\""; echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "id", array()), "html", null, true); echo "\" class=\"tr_asa\">\n <td><span class=\"text-bold\">"; // line 465 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 466 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "debut", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 467 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "fin", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td class=\"demiJ2\">"; // line 468 echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "nbjournee", array()), "html", null, true); echo "</td>\n <td>"; // line 469 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "DemandeLe", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 470 if (twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 471 echo " En cours de traitement\n "; } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) { // line 473 echo " Refusé\n "; } elseif (null === $this->getAttribute($context["ASA"], "Accepted", array())) { // line 475 echo " Envoyé\n "; } else { // line 477 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y"), "html", null, true); echo "\n "; } // line 479 echo " </td>\n <td>"; // line 480 echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "commentaire", array()), "html", null, true); echo "</td>\n "; // line 481 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 482 echo " <td class='hidden-print'>\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='"; // line 483 echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 488 echo " </tr>\n "; // line 489 if ($this->getAttribute($context["loop"], "last", array())) { // line 490 echo " <tfoot>\n <tr class=\"\">\n <th colspan=\"3\">Total</th>\n <th>"; // line 493 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalASA"), "html", null, true); echo "</th>\n <th colspan=\"3\"></th>\n <th>\n <input id=\"toggle-event\"\n checked type=\"checkbox\" data-toggle=\"toggle\"\n data-width=\"100\" data-height=\"10\"\n data-on=\"universitaire\" data-off=\"civile\"\n data-onstyle=\"warning\" data-offstyle=\"info\"><br>\n </th>\n </tr> \n </tfoot> \n "; } // line 505 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ASA'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 506 echo " </table>\n </div>\n </div>\n "; } // line 510 echo " "; if (twig_length_filter($this->env, $this->getContext($context, "tabHSF")) != 0) { // line 511 echo " <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover\" id=\"table_asa\">\n <tr>\n <td class=\"text-center text-bold\" colspan=\"9\">Récupération d'heure supplémentaire et heure de fractionnement</td>\n </tr>\n <tr>\n <th>#</th>\n <th>Date</th>\n <th>Type de récupération</th>\n <th>Nombre d'heures</th>\n <th>Demandée le</th>\n <th>Acceptée le</th>\n "; // line 524 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 525 echo " <th class='hidden-print'>Action</th>\n "; } // line 527 echo " </tr>\n "; // line 528 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "tabHSF")); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["HSF"]) { // line 529 echo " \n <tr id =\""; // line 530 echo twig_escape_filter($this->env, $this->getAttribute($context["HSF"], "id", array()), "html", null, true); echo "\">\n <td><span class=\"text-bold\">"; // line 531 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 532 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 533 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "Category", array()), "categoryName", array()), "html", null, true); echo "</td>\n "; // line 534 $context["nbh"] = twig_split_filter($this->env, $this->getAttribute($context["HSF"], "nbheure", array()), "."); // line 535 echo " <td class=\"demiJ2\">"; if ($this->getAttribute($this->getContext($context, "nbh", true), 0, array(), "any", true, true)) { echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 0, array()), "html", null, true); } if ($this->getAttribute($this->getContext($context, "nbh", true), 1, array(), "any", true, true)) { echo "h"; echo twig_escape_filter($this->env, twig_round($this->getAttribute(twig_split_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 1, array()), "", 1), 0, array()) * 0.6), "html", null, true); echo "0"; } echo "</span></td>\n <td>"; // line 536 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "DemandeLe", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 537 if (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 538 echo " En cours de traitement\n "; } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) { // line 540 echo " Refusé\n "; } elseif (null === $this->getAttribute($context["HSF"], "Accepted", array())) { // line 542 echo " Envoyé\n "; } else { // line 544 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y"), "html", null, true); echo "\n "; } // line 546 echo " </td>\n "; // line 547 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 548 echo " <td class='hidden-print'>\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id-hsf='"; // line 549 echo twig_escape_filter($this->env, $this->getAttribute($context["HSF"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 554 echo " </tr>\n "; // line 555 if ($this->getAttribute($context["loop"], "last", array())) { // line 556 echo " <tfoot>\n <tr class=\"\">\n <th colspan=\"3\">Total</th>\n <th></th>\n </tr> \n </tfoot> \n "; } // line 563 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['HSF'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 564 echo " </table>\n </div>\n </div>\n "; } // line 568 echo " "; if (twig_length_filter($this->env, $this->getContext($context, "autres")) != 0) { // line 569 echo " <div class=\"box\">\n <div class=\"box-body no-padding\">\n <table class=\"table table-condensed table-hover\">\n <tr>\n <td class=\"text-center text-bold\" colspan=\"9\">Autre</td>\n </tr>\n <tr>\n <th>#</th>\n <th>Début</th>\n <th>fin</th>\n <th>Type d'absence</th>\n <th>Nombre de jours</th>\n <th>Demandée le</th>\n <th>Acceptée le</th>\n "; // line 583 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 584 echo " <th class='hidden-print'>Action</th>\n "; } // line 586 echo " </tr>\n "; // line 587 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getContext($context, "autres")); $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["autre"]) { // line 588 echo " \n <tr id =\""; // line 589 echo twig_escape_filter($this->env, $this->getAttribute($context["autre"], "id", array()), "html", null, true); echo "\">\n <td><span class=\"text-bold\">"; // line 590 echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true); echo ".</span></td>\n <td>"; // line 591 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "debut", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 592 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "fin", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 593 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["autre"], "Category", array()), "categoryName", array()), "html", null, true); echo "</td>\n "; // line 594 $context["nbh"] = twig_split_filter($this->env, $this->getAttribute($context["autre"], "nbjournee", array()), "."); // line 595 echo " <td class=\"demiJ2\">"; if ($this->getAttribute($this->getContext($context, "nbh", true), 0, array(), "any", true, true)) { echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 0, array()), "html", null, true); } if ($this->getAttribute($this->getContext($context, "nbh", true), 1, array(), "any", true, true)) { echo "h"; echo twig_escape_filter($this->env, twig_round($this->getAttribute($this->getContext($context, "nbh"), 1, array()) * 0.6), "html", null, true); echo "0"; } echo "</span></td>\n <td>"; // line 596 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "DemandeLe", array()), "d-m-Y"), "html", null, true); echo "</td>\n <td>"; // line 597 if (twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) { // line 598 echo " En cours de traitement\n "; } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) { // line 600 echo " Refusé\n "; } elseif (null === $this->getAttribute($context["autre"], "Accepted", array())) { // line 602 echo " Envoyé\n "; } else { // line 604 echo " "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y"), "html", null, true); echo "\n "; } // line 606 echo " </td>\n "; // line 607 if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) { // line 608 echo " <td class='hidden-print'>\n <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id-hsf='"; // line 609 echo twig_escape_filter($this->env, $this->getAttribute($context["autre"], "id", array()), "html", null, true); echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n <i class=\"fa fa-times\"></i>\n </a>\n </td>\n "; } // line 614 echo " </tr>\n "; // line 615 if ($this->getAttribute($context["loop"], "last", array())) { // line 616 echo " <tfoot>\n <tr class=\"\">\n <th colspan=\"3\">Total</th>\n <th></th>\n </tr> \n </tfoot> \n "; } // line 623 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['autre'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 624 echo " </table>\n </div>\n </div>\n "; } // line 628 echo " </div><!-- /.col -->\n </div><!-- /.row -->\n </section><!-- /.content -->\n </div><!-- /.content-wrapper -->\n \n "; // line 634 echo " <div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\">\n <div class=\"modal-dialog\" role=\"document\">\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\">×</span></button>\n <h4 class=\"modal-title\" id=\"exampleModalLabel\">New message</h4>\n </div>\n <div class=\"modal-body\">\n Etes vous sur de vouloir supprimer l'evenement ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Non</button>\n <a type=\"button\" class=\"btn btn-danger\" id=\"annuler_event\" href='' ><i class=\"fa fa-times\"> Oui</i> </a>\n </div>\n </div>\n </div>\n </div>\n \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 © 2015 <a href=\"\">Cedric GUICHERD</a>.</strong> \n </footer>\n </div><!-- ./wrapper -->\n"; // line 659 $this->displayBlock('javascript', $context, $blocks); // line 748 echo "\n </body>\n</html>\n "; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd = $this->env->getExtension("native_profiler"); $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd->enter($__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "NelmioApiDocBundle::method.html.twig")); // line 1 echo "<li class=\""; echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "html", null, true); echo " operation\" id=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true); echo "\">\n <div class=\"heading toggler"; // line 2 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "deprecated", array())) { echo " deprecated"; } echo "\" data-href=\"#"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true); echo "\">\n <h3>\n <span class=\"http_method\">\n <i>"; // line 5 echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "html", null, true); echo "</i>\n </span>\n\n "; // line 8 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "deprecated", array())) { // line 9 echo " <span class=\"deprecated\">\n <i>DEPRECATED</i>\n </span>\n "; } // line 13 echo "\n "; // line 14 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) { // line 15 echo " <span class=\"icon lock\" title=\"HTTPS\"></span>\n "; } // line 17 echo " "; if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authentication", array())) { // line 18 echo " <span class=\"icon keys\" title=\"Needs "; echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authenticationRoles", array())) > 0 ? twig_join_filter($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authenticationRoles", array()), ", ") : "authentication", "html", null, true); echo "\"></span>\n "; } // line 20 echo "\n <span class=\"path\">\n "; // line 22 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "host", array(), "any", true, true)) { // line 23 echo $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) ? "https://" : "http://"; // line 24 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "host", array()), "html", null, true); } // line 26 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "uri", array()), "html", null, true); echo "\n </span>\n "; // line 28 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "tags", array(), "any", true, true)) { // line 29 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "tags", array())); foreach ($context['_seq'] as $context["tag"] => $context["color_code"]) { // line 30 echo " <span class=\"tag\" "; if (array_key_exists("color_code", $context) && !twig_test_empty($context["color_code"])) { echo "style=\"background-color:"; echo twig_escape_filter($this->env, $context["color_code"], "html", null, true); echo ";\""; } echo ">"; echo twig_escape_filter($this->env, $context["tag"], "html", null, true); echo "</span>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['tag'], $context['color_code'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 32 echo " "; } // line 33 echo " </h3>\n <ul class=\"options\">\n "; // line 35 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "description", array(), "any", true, true)) { // line 36 echo " <li>"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "description", array()), "html", null, true); echo "</li>\n "; } // line 38 echo " </ul>\n </div>\n\n <div class=\"content\" style=\"display: "; // line 41 if (array_key_exists("displayContent", $context) && (isset($context["displayContent"]) ? $context["displayContent"] : $this->getContext($context, "displayContent")) == true) { echo "display"; } else { echo "none"; } echo ";\">\n <ul class=\"tabs\">\n "; // line 43 if (isset($context["enableSandbox"]) ? $context["enableSandbox"] : $this->getContext($context, "enableSandbox")) { // line 44 echo " <li class=\"selected\" data-pane=\"content\">Documentation</li>\n <li data-pane=\"sandbox\">Sandbox</li>\n "; } // line 47 echo " </ul>\n\n <div class=\"panes\">\n <div class=\"pane content selected\">\n "; // line 51 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "documentation", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "documentation", array()))) { // line 52 echo " <h4>Documentation</h4>\n <div>"; // line 53 echo $this->env->getExtension('nelmio_api_doc')->markdown($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "documentation", array())); echo "</div>\n "; } // line 55 echo "\n "; // line 56 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "link", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()))) { // line 57 echo " <h4>Link</h4>\n <div><a href=\""; // line 58 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()), "html", null, true); echo "\" target=\"_blank\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()), "html", null, true); echo "</a></div>\n "; } // line 60 echo "\n "; // line 61 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "requirements", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array()))) { // line 62 echo " <h4>Requirements</h4>\n <table class=\"fullwidth\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Requirement</th>\n <th>Type</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n "; // line 73 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 74 echo " <tr>\n <td>"; // line 75 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</td>\n <td>"; // line 76 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "requirement", array(), "any", true, true) ? $this->getAttribute($context["infos"], "requirement", array()) : "", "html", null, true); echo "</td>\n <td>"; // line 77 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array(), "any", true, true) ? $this->getAttribute($context["infos"], "dataType", array()) : "", "html", null, true); echo "</td>\n <td>"; // line 78 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array(), "any", true, true) ? $this->getAttribute($context["infos"], "description", array()) : "", "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 81 echo " </tbody>\n </table>\n "; } // line 84 echo "\n "; // line 85 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "filters", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array()))) { // line 86 echo " <h4>Filters</h4>\n <table class=\"fullwidth\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Information</th>\n </tr>\n </thead>\n <tbody>\n "; // line 95 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 96 echo " <tr>\n <td>"; // line 97 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</td>\n <td>\n <table>\n "; // line 100 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["infos"]); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 101 echo " <tr>\n <td>"; // line 102 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $context["key"]), "html", null, true); echo "</td>\n <td>"; // line 103 echo twig_escape_filter($this->env, trim(twig_replace_filter(twig_jsonencode_filter($context["value"]), array("\\\\" => "\\")), "\""), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 106 echo " </table>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 110 echo " </tbody>\n </table>\n "; } // line 113 echo "\n "; // line 114 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "parameters", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array()))) { // line 115 echo " <h4>Parameters</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th>Parameter</th>\n <th>Type</th>\n <th>Required?</th>\n <th>Format</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n "; // line 127 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 128 echo " "; if (!$this->getAttribute($context["infos"], "readonly", array())) { // line 129 echo " <tr>\n <td>"; // line 130 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</td>\n <td>"; // line 131 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array(), "any", true, true) ? $this->getAttribute($context["infos"], "dataType", array()) : "", "html", null, true); echo "</td>\n <td>"; // line 132 echo $this->getAttribute($context["infos"], "required", array()) ? "true" : "false"; echo "</td>\n <td>"; // line 133 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true); echo "</td>\n <td>"; // line 134 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array(), "any", true, true) ? $this->getAttribute($context["infos"], "description", array()) : "", "html", null, true); echo "</td>\n </tr>\n "; } // line 137 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 138 echo " </tbody>\n </table>\n "; } // line 141 echo "\n "; // line 142 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "response", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "response", array()))) { // line 143 echo " <h4>Return</h4>\n <table class='fullwidth'>\n <thead>\n <tr>\n <th>Parameter</th>\n <th>Type</th>\n <th>Versions</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n "; // line 154 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "response", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 155 echo " <tr>\n <td>"; // line 156 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "</td>\n <td>"; // line 157 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true); echo "</td>\n <td>"; // line 158 $this->loadTemplate("NelmioApiDocBundle:Components:version.html.twig", "NelmioApiDocBundle::method.html.twig", 158)->display(array("sinceVersion" => $this->getAttribute($context["infos"], "sinceVersion", array()), "untilVersion" => $this->getAttribute($context["infos"], "untilVersion", array()))); echo "</td>\n <td>"; // line 159 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 162 echo " </tbody>\n </table>\n "; } // line 165 echo "\n "; // line 166 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "statusCodes", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "statusCodes", array()))) { // line 167 echo " <h4>Status Codes</h4>\n <table class=\"fullwidth\">\n <thead>\n <tr>\n <th>Status Code</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n "; // line 176 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "statusCodes", array())); foreach ($context['_seq'] as $context["status_code"] => $context["descriptions"]) { // line 177 echo " <tr>\n <td><a href=\"http://en.wikipedia.org/wiki/HTTP_"; // line 178 echo twig_escape_filter($this->env, $context["status_code"], "html", null, true); echo "\" target=\"_blank\">"; echo twig_escape_filter($this->env, $context["status_code"], "html", null, true); echo "</a></td>\n <td>\n <ul>\n "; // line 181 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["descriptions"]); foreach ($context['_seq'] as $context["_key"] => $context["description"]) { // line 182 echo " <li>"; echo twig_escape_filter($this->env, $context["description"], "html", null, true); echo "</li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['description'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 184 echo " </ul>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['status_code'], $context['descriptions'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 188 echo " </tbody>\n </table>\n "; } // line 191 echo "\n "; // line 192 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "cache", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "cache", array()))) { // line 193 echo " <h4>Cache</h4>\n <div>"; // line 194 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "cache", array()), "html", null, true); echo "s</div>\n "; } // line 196 echo "\n </div>\n\n "; // line 199 if (isset($context["enableSandbox"]) ? $context["enableSandbox"] : $this->getContext($context, "enableSandbox")) { // line 200 echo " <div class=\"pane sandbox\">\n "; // line 201 if (!(null === $this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array())) && $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) && $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array()), "secure", array()) != $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) { // line 202 echo " Please reload the documentation using the scheme "; if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) { echo "HTTPS"; } else { echo "HTTP"; } echo " if you want to use the sandbox.\n "; } else { // line 204 echo " <form method=\"\" action=\""; if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "host", array(), "any", true, true)) { echo $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) ? "https://" : "http://"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "host", array()), "html", null, true); } echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "uri", array()), "html", null, true); echo "\">\n <fieldset class=\"parameters\">\n <legend>Input</legend>\n "; // line 207 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "requirements", array(), "any", true, true)) { // line 208 echo " <h4>Requirements</h4>\n "; // line 209 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 210 echo " <p class=\"tuple\">\n <input type=\"text\" class=\"key\" value=\""; // line 211 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "\" placeholder=\"Key\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" placeholder=\""; // line 213 if ($this->getAttribute($context["infos"], "description", array(), "any", true, true)) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true); } else { echo "Value"; } echo "\" "; if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) { echo " value=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true); echo "\" "; } echo "/> <span class=\"remove\">-</span>\n </p>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 216 echo " "; } // line 217 echo " "; if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "filters", array(), "any", true, true)) { // line 218 echo " <h4>Filters</h4>\n "; // line 219 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 220 echo " <p class=\"tuple\">\n <input type=\"text\" class=\"key\" value=\""; // line 221 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "\" placeholder=\"Key\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" placeholder=\""; // line 223 if ($this->getAttribute($context["infos"], "description", array(), "any", true, true)) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true); } else { echo "Value"; } echo "\" "; if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) { echo " value=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true); echo "\" "; } echo "/> <span class=\"remove\">-</span>\n </p>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 226 echo " "; } // line 227 echo " "; if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "parameters", array(), "any", true, true)) { // line 228 echo " <h4>Parameters</h4>\n "; // line 229 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array())); foreach ($context['_seq'] as $context["name"] => $context["infos"]) { // line 230 echo " "; if (!$this->getAttribute($context["infos"], "readonly", array())) { // line 231 echo " <p class=\"tuple\" data-dataType=\""; if ($this->getAttribute($context["infos"], "dataType", array())) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true); } echo "\" data-format=\""; if ($this->getAttribute($context["infos"], "format", array())) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true); } echo "\" data-description=\""; if ($this->getAttribute($context["infos"], "description", array())) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true); } echo "\">\n <input type=\"text\" class=\"key\" value=\""; // line 232 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo "\" placeholder=\"Key\" />\n <span>=</span>\n <select class=\"tuple_type\">\n <option value=\"\">Type</option>\n <option value=\"string\">String</option>\n <option value=\"boolean\">Boolean</option>\n <option value=\"file\">File</option>\n </select>\n <input type=\"text\" class=\"value\" placeholder=\""; // line 240 if ($this->getAttribute($context["infos"], "dataType", array())) { echo "["; echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true); echo "] "; } if ($this->getAttribute($context["infos"], "format", array())) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true); } if ($this->getAttribute($context["infos"], "description", array())) { echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true); } else { echo "Value"; } echo "\" "; if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) { echo " value=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true); echo "\" "; } echo "/> <span class=\"remove\">-</span>\n </p>\n "; } // line 243 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 244 echo " <button type=\"button\" class=\"add_parameter\">New parameter</button>\n "; } // line 246 echo "\n </fieldset>\n\n <fieldset class=\"headers\">\n "; // line 250 $context["methods"] = twig_split_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "|"); // line 251 echo " "; if (twig_length_filter($this->env, isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")) > 1) { // line 252 echo " <legend>Method</legend>\n <select name=\"header_method\">\n "; // line 254 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")); foreach ($context['_seq'] as $context["_key"] => $context["method"]) { // line 255 echo " <option value=\""; echo twig_escape_filter($this->env, $context["method"], "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["method"], "html", null, true); echo "</option>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['method'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 257 echo " </select>\n "; } else { // line 259 echo " <input type=\"hidden\" name=\"header_method\" value=\""; echo twig_escape_filter($this->env, twig_join_filter(isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")), "html", null, true); echo "\" />\n "; } // line 261 echo "\n <legend>Headers</legend>\n\n "; // line 264 if (isset($context["acceptType"]) ? $context["acceptType"] : $this->getContext($context, "acceptType")) { // line 265 echo " <p class=\"tuple\">\n <input type=\"text\" class=\"key\" value=\"Accept\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" value=\""; // line 268 echo twig_escape_filter($this->env, isset($context["acceptType"]) ? $context["acceptType"] : $this->getContext($context, "acceptType"), "html", null, true); echo "\" /> <span class=\"remove\">-</span>\n </p>\n "; } // line 271 echo "\n <p class=\"tuple\">\n <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n </p>\n\n <button type=\"button\" class=\"add_header\">New header</button>\n </fieldset>\n\n <fieldset class=\"request-content\">\n <legend>Content</legend>\n\n <textarea class=\"content\" placeholder=\"Content set here will override the parameters that do not match the url\"></textarea>\n\n <p class=\"tuple\">\n <input type=\"text\" class=\"key content-type\" value=\"Content-Type\" disabled=\"disabled\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" placeholder=\"Value\" />\n <button type=\"button\" class=\"set-content-type\">Set header</button> <small>Replaces header if set</small>\n </p>\n </fieldset>\n\n <div class=\"buttons\">\n <input type=\"submit\" value=\"Try!\" />\n </div>\n </form>\n\n <script type=\"text/x-tmpl\" class=\"parameters_tuple_template\">\n <p class=\"tuple\">\n <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n <span>=</span>\n <select class=\"tuple_type\">\n <option value=\"\">Type</option>\n <option value=\"string\">String</option>\n <option value=\"boolean\">Boolean</option>\n <option value=\"file\">File</option>\n </select>\n <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n </p>\n </script>\n\n <script type=\"text/x-tmpl\" class=\"headers_tuple_template\">\n <p class=\"tuple\">\n <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n <span>=</span>\n <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n </p>\n </script>\n\n\n <div class=\"result\">\n <h4>Request URL</h4>\n <pre class=\"url\"></pre>\n\n <h4>Response Headers <small>[<a href=\"\" class=\"to-expand\">Expand</a>]</small> <small class=\"profiler\">[<a href=\"\" class=\"profiler-link\" target=\"_blank\">Profiler</a>]</small></h4>\n <pre class=\"headers to-expand\"></pre>\n\n <h4>Response Body <small>[<a href=\"\" class=\"to-raw\">Raw</a>]</small></h4>\n <pre class=\"response prettyprint\"></pre>\n </div>\n "; } // line 333 echo " </div>\n "; } // line 335 echo " </div>\n </div>\n</li>\n"; $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd->leave($__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd_prof); }