var/cache/dev/twig/a4/a45d015309198ddeb96da72612dc88ce0227b476effcc05197f3aa7f5572ddde.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* business/detail.html.twig */
  14. class __TwigTemplate_4d0d247333a6156cd53999d8f9a218e2270a891a641b7a715e4b940449a24c4c extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this, 'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros = $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "business/detail.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "business/detail.html.twig"));
  38.         // line 263
  39.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "/static/js/exkmapStatic.js"], "method", false, false, false, 263);
  40.         // line 264
  41.         twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => (("https://maps.googleapis.com/maps/api/js?key=" . $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("googleMapsApiKey")) . "&callback=initMap")], "method", false, false, false, 264);
  42.         // line 1
  43.         $this->parent = $this->loadTemplate("layout.html.twig", "business/detail.html.twig", 1);
  44.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_content($context, array $blocks = [])
  52.     {
  53.         $macros = $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  58.         // line 4
  59.         echo "<main class=\"main\" role=\"main\">
  60.     <section class=\"apk-business\">
  61.         <div class=\"uk-container\">
  62.             <div class=\"apk-business-banner\">
  63.                 ";
  64.         // line 8
  65.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 8, $this->source); })()), "getBanner", [], "method", false, false, false, 8)) {
  66.             echo " 
  67.                 <div class=\"apk-media uk-cover-container\">
  68.                     <img class=\"uk-cover\" src=\"";
  69.             // line 10
  70.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 10, $this->source); })()), "getBanner", [], "method", false, false, false, 10), "getThumbnail", [0 => "full-background"], "method", false, false, false, 10), "html", null, true);
  71.             echo "\" alt=\"";
  72.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 10, $this->source); })()), "getName", [], "method", false, false, false, 10), "html", null, true);
  73.             echo "\" uk-cover>
  74.                 </div>
  75.                 ";
  76.         }
  77.         // line 13
  78.         echo "            </div>
  79.             <div class=\"apk-business-container\">
  80.                 <div class=\"uk-grid-small uk-grid\" uk-grid>
  81.                     <div class=\"uk-width-3-4@m\">
  82.                         <h1 class=\"uk-h2\">";
  83.         // line 17
  84.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 17, $this->source); })()), "getName", [], "method", false, false, false, 17), "html", null, true);
  85.         echo "</h1>
  86.                         ";
  87.         // line 19
  88.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 19, $this->source); })()), "getNursery", [], "method", false, false, false, 19)) {
  89.             // line 20
  90.             echo "                        <div class=\"uk-grid-small uk-grid\" uk-grid>
  91.                             <div class=\"uk-width-auto\">
  92.                                 <div class=\"uk-grid-small uk-grid\" uk-grid>
  93.                                     <div class=\"uk-width-auto\">
  94.                                         ";
  95.             // line 25
  96.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 25, $this->source); })()), "getFrame", [], "method", false, false, false, 25)) {
  97.                 // line 26
  98.                 echo "                                            <span class=\"uk-button uk-button-secondary uk-button-blue2\">
  99.                                                 ";
  100.                 // line 27
  101.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 27, $this->source); })()), "getFrame", [], "method", false, false, false, 27)), "html", null, true);
  102.                 echo "
  103.                                             </span>
  104.                                         ";
  105.             }
  106.             // line 30
  107.             echo "                                    </div>
  108.                                     <div class=\"uk-width-auto\">
  109.                                         ";
  110.             // line 32
  111.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 32, $this->source); })()), "getPrice", [], "method", false, false, false, 32)) {
  112.                 // line 33
  113.                 echo "                                            <span class=\"uk-button uk-button-secondary uk-button-blue2\">
  114.                                                 ";
  115.                 // line 34
  116.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 34, $this->source); })()), "getPrice", [], "method", false, false, false, 34)), "html", null, true);
  117.                 echo "
  118.                                             </span>
  119.                                         ";
  120.             }
  121.             // line 37
  122.             echo "                                    </div>
  123.                                     ";
  124.             // line 38
  125.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 38, $this->source); })()), "getOrganisation", [], "method", false, false, false, 38)) {
  126.                 // line 39
  127.                 echo "                                    <div class=\"uk-width-auto\">
  128.                                         <img src=\"";
  129.                 // line 40
  130.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 40, $this->source); })()), "getOrganisation", [], "method", false, false, false, 40), "getImageProfil", [], "method", false, false, false, 40), "getThumbnail", [0 => "OrgDetails"], "method", false, false, false, 40), "getPath", [], "method", false, false, false, 40), "html", null, true);
  131.                 echo "\" alt=\"";
  132.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 40, $this->source); })()), "getOrganisation", [], "method", false, false, false, 40), "getName", [], "method", false, false, false, 40), "html", null, true);
  133.                 echo "\">
  134.                                         ";
  135.                 // line 42
  136.                 echo "                                        
  137.                                     </div>
  138.                                     ";
  139.             }
  140.             // line 45
  141.             echo "                                </div>
  142.                             </div>
  143.                             <div class=\"uk-width-auto\">
  144.                                 ";
  145.             // line 48
  146.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 48, $this->source); })()), "getLangs", [], "method", false, false, false, 48)) {
  147.                 // line 49
  148.                 echo "                                    <div class=\"apk-lang-container\">
  149.                                         <span class=\"apk-font-14\">";
  150.                 // line 50
  151.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Langues parlées aux enfants"), "html", null, true);
  152.                 echo "</span>
  153.                                         <ul class=\"uk-list apk-list-inline\">
  154.                                             ";
  155.                 // line 52
  156.                 $context['_parent'] = $context;
  157.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 52, $this->source); })()), "getLangs", [], "method", false, false, false, 52));
  158.                 foreach ($context['_seq'] as $context["_key"] => $context["lang"]) {
  159.                     // line 53
  160.                     echo "                                                ";
  161.                     if (twig_get_attribute($this->env, $this->source, $context["lang"], "getImage", [], "method", false, false, false, 53)) {
  162.                         // line 54
  163.                         echo "                                                    <li class=\"uk-text-center\">
  164.                                                         <div class=\"apk-lang uk-cover-container\">
  165.                                                             <img class=\"uk-cover\" width=\"40\" height=\"40\" src=\"";
  166.                         // line 56
  167.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["lang"], "getImage", [], "method", false, false, false, 56), "getThumbnail", [0 => "country-thumb"], "method", false, false, false, 56), "html", null, true);
  168.                         echo "\" alt=\"";
  169.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getLang", [], "method", false, false, false, 56), "html", null, true);
  170.                         echo "\" uk-cover>
  171.                                                         </div>
  172.                                                         <span class=\"apk-lang-code\">";
  173.                         // line 58
  174.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getCode", [], "method", false, false, false, 58), "html", null, true);
  175.                         echo "</span>
  176.                                                     </li>
  177.                                                 ";
  178.                     } else {
  179.                         // line 61
  180.                         echo "                                                    <img width=\"40\" height=\"40\" src=\"undefined\" alt=\"";
  181.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getLang", [], "method", false, false, false, 61), "html", null, true);
  182.                         echo "\">
  183.                                                 ";
  184.                     }
  185.                     // line 63
  186.                     echo "                                            ";
  187.                 }
  188.                 $_parent = $context['_parent'];
  189.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lang'], $context['_parent'], $context['loop']);
  190.                 $context = array_intersect_key($context, $_parent) + $_parent;
  191.                 // line 64
  192.                 echo "                                        </ul>
  193.                                     </div>
  194.                                 ";
  195.             }
  196.             // line 67
  197.             echo "                            </div>
  198.                         </div>
  199.                         ";
  200.         }
  201.         // line 70
  202.         echo "                        ";
  203.         if (((twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 70, $this->source); })()), "getServices", [], "method", false, false, false, 70) || twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 70, $this->source); })()), "getGallery", [], "method", false, false, false, 70), "getItems", [], "method", false, false, false, 70))) || twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 70, $this->source); })()), "getPresentation", [], "method", false, false, false, 70))) {
  204.             // line 71
  205.             echo "                            ";
  206.             if ((twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 71, $this->source); })()), "getNursery", [], "method", false, false, false, 71) && twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 71, $this->source); })()), "getServices", [], "method", false, false, false, 71))) {
  207.                 // line 72
  208.                 echo "                                <div id=\"services\" class=\"uk-margin-small-top\">
  209.                                     <h2 class=\"uk-h3\">";
  210.                 // line 73
  211.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Les + de la crèche"), "html", null, true);
  212.                 echo "</h2>
  213.                                     <ul class=\"uk-list apk-list-inline apk-services uk-margin-remove\">
  214.                                         ";
  215.                 // line 75
  216.                 $context['_parent'] = $context;
  217.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 75, $this->source); })()), "getServices", [], "method", false, false, false, 75));
  218.                 foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  219.                     // line 76
  220.                     echo "                                            <li class=\"uk-text-center\">
  221.                                                 <div class=\"apk-services-container uk-flex uk-flex-middle uk-flex-center\">
  222.                                                     <img uk-svg width=\"45\" heigh=\"45\" src=\"";
  223.                     // line 78
  224.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["service"], "getImage", [], "method", false, false, false, 78), "getFullPath", [], "method", false, false, false, 78), "html", null, true);
  225.                     echo "\" alt=\"";
  226.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "getName", [], "method", false, false, false, 78), "html", null, true);
  227.                     echo "\">
  228.                                                 </div>
  229.                                                 <span class=\"apk-services-text\">";
  230.                     // line 80
  231.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "getName", [], "method", false, false, false, 80), "html", null, true);
  232.                     echo "</span>
  233.                                             </li>
  234.                                         ";
  235.                 }
  236.                 $_parent = $context['_parent'];
  237.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  238.                 $context = array_intersect_key($context, $_parent) + $_parent;
  239.                 // line 83
  240.                 echo "                                    </ul>
  241.                                 </div>
  242.                             ";
  243.             }
  244.             // line 86
  245.             echo "
  246.                             ";
  247.             // line 87
  248.             if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 87, $this->source); })()), "getGallery", [], "method", false, false, false, 87), "getItems", [], "method", false, false, false, 87))) {
  249.                 // line 88
  250.                 echo "                                <div id=\"gallery\" class=\"uk-margin-medium-top\">
  251.                                     ";
  252.                 // line 89
  253.                 $context["i"] = 1;
  254.                 // line 90
  255.                 echo "                                    <div class=\"uk-grid-small uk-child-width-1-3@s uk-child-width-1-2 uk-flex uk-flex-center uk-grid\" uk-grid uk-lightbox>
  256.                                         ";
  257.                 // line 91
  258.                 $context['_parent'] = $context;
  259.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 91, $this->source); })()), "getGallery", [], "method", false, false, false, 91));
  260.                 foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  261.                     // line 92
  262.                     echo "                                            ";
  263.                     if (((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 92, $this->source); })()) <= 10)) {
  264.                         // line 93
  265.                         echo "                                                <div>
  266.                                                     <div class=\"uk-cover-container apk-gallery\">
  267.                                                         <a href=\"";
  268.                         // line 95
  269.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "getThumbnail", [0 => "gallery-lightbox"], "method", false, false, false, 95), "html", null, true);
  270.                         echo "\">
  271.                                                             <img class=\"uk-cover\" src=\"";
  272.                         // line 96
  273.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["image"], "getThumbnail", [0 => "gallery-thumb"], "method", false, false, false, 96), "html", null, true);
  274.                         echo "\" uk-cover>
  275.                                                         </a>
  276.                                                     </div>
  277.                                                 </div>
  278.                                             ";
  279.                     }
  280.                     // line 101
  281.                     echo "                                            ";
  282.                     $context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 101, $this->source); })()) + 1);
  283.                     // line 102
  284.                     echo "                                        ";
  285.                 }
  286.                 $_parent = $context['_parent'];
  287.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  288.                 $context = array_intersect_key($context, $_parent) + $_parent;
  289.                 // line 103
  290.                 echo "
  291.                                     </div>
  292.                                 </div>
  293.                             ";
  294.             }
  295.             // line 107
  296.             echo "
  297.                             ";
  298.             // line 109
  299.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 109, $this->source); })()), "getPresentation", [], "method", false, false, false, 109)) {
  300.                 // line 110
  301.                 echo "                                <div id=\"description\" class=\"uk-margin-medium-top\">
  302.                                     <h2 class=\"uk-h3\">";
  303.                 // line 111
  304.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Présentation"), "html", null, true);
  305.                 echo "</h2>
  306.                                     
  307.                                     ";
  308.                 // line 113
  309.                 echo twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 113, $this->source); })()), "getPresentation", [], "method", false, false, false, 113);
  310.                 echo "
  311.                                     ";
  312.                 // line 115
  313.                 if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 115, $this->source); })()), "getDoc", [], "method", false, false, false, 115)) {
  314.                     // line 116
  315.                     echo "                                        <div class=\"uk-flex uk-flex-right\">
  316.                                             <a class=\"uk-button uk-button-primary uk-flex uk-flex-middle uk-flex-center\" href=\"";
  317.                     // line 117
  318.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 117, $this->source); })()), "getDoc", [], "method", false, false, false, 117), "html", null, true);
  319.                     echo "\" target=\"_blank\">
  320.                                                 ";
  321.                     // line 118
  322.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger le projet pédagogique"), "html", null, true);
  323.                     echo "
  324.                                                 <img uk-svg class=\"uk-margin-small-left\" width=\"7\" height=\"18\" src=\"/static/img/pictos/arrow-download.svg\" alt=\"";
  325.                     // line 119
  326.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger"), "html", null, true);
  327.                     echo "\">
  328.                                             </a>
  329.                                         </div>
  330.                                     ";
  331.                 }
  332.                 // line 123
  333.                 echo "                                </div>
  334.                             ";
  335.             }
  336.             // line 125
  337.             echo "                        ";
  338.         } else {
  339.             // line 126
  340.             echo "                            <div class=\"uk-margin-medium-top\">
  341.                                 <h2 class=\"uk-h3\">";
  342.             // line 127
  343.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pas d'informations"), "html", null, true);
  344.             echo "</h2>
  345.                             </div>
  346.                         ";
  347.         }
  348.         // line 130
  349.         echo "                    </div>
  350.                     <div class=\"uk-width-1-4@m\">
  351.                         <div class=\"uk-grid-small uk-grid\" uk-grid>
  352.                             ";
  353.         // line 135
  354.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 135, $this->source); })()), "getNursery", [], "method", false, false, false, 135)) {
  355.             // line 136
  356.             echo "                            <div class=\"uk-width-1-1@m uk-width-1-2@s\">
  357.                                 <div id=\"availabilities\" class=\"apk-availabilities\">
  358.                                     <h2 class=\"uk-h3\">";
  359.             // line 138
  360.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Place(s) disponible(s)"), "html", null, true);
  361.             echo "</h2>
  362.                                     <ul class=\"uk-list uk-margin-remove\">
  363.                                         <li class=\"uk-flex uk-flex-middle\">
  364.                                             <div class=\"apk-availabilities-number\">
  365.                                                 <span>";
  366.             // line 142
  367.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 142, $this->source); })()), "availableNow", [], "method", false, false, false, 142), "html", null, true);
  368.             echo "</span>
  369.                                             </div>
  370.                                             ";
  371.             // line 144
  372.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dès maintenant"), "html", null, true);
  373.             echo "
  374.                                         </li>
  375.                                         <li class=\"uk-flex uk-flex-middle\">
  376.                                             <div class=\"apk-availabilities-number\">
  377.                                                 <span>";
  378.             // line 148
  379.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 148, $this->source); })()), "availableThreeMonth", [], "method", false, false, false, 148), "html", null, true);
  380.             echo "</span>
  381.                                             </div>
  382.                                             ";
  383.             // line 150
  384.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dans les 3 mois"), "html", null, true);
  385.             echo "
  386.                                         </li>
  387.                                         <li class=\"uk-flex uk-flex-middle\">
  388.                                             <div class=\"apk-availabilities-number\">
  389.                                                 <span>";
  390.             // line 154
  391.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 154, $this->source); })()), "availableSixMonth", [], "method", false, false, false, 154), "html", null, true);
  392.             echo "</span>
  393.                                             </div>
  394.                                             ";
  395.             // line 156
  396.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 4 à 6 mois"), "html", null, true);
  397.             echo "
  398.                                         </li>
  399.                                         <li class=\"uk-flex uk-flex-middle\">
  400.                                             <div class=\"apk-availabilities-number\">
  401.                                                 <span>";
  402.             // line 160
  403.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 160, $this->source); })()), "availableNineMonth", [], "method", false, false, false, 160), "html", null, true);
  404.             echo "</span>
  405.                                             </div>
  406.                                             ";
  407.             // line 162
  408.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 7 à 9 mois"), "html", null, true);
  409.             echo "
  410.                                         </li>
  411.                                         <li class=\"uk-flex uk-flex-middle\">
  412.                                             <div class=\"apk-availabilities-number\">
  413.                                                 <span>";
  414.             // line 166
  415.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 166, $this->source); })()), "availableTwelveMonth", [], "method", false, false, false, 166), "html", null, true);
  416.             echo "</span>
  417.                                             </div>
  418.                                             ";
  419.             // line 168
  420.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 10 à 12 mois"), "html", null, true);
  421.             echo "
  422.                                         </li>
  423.                                         <li class=\"uk-flex uk-flex-middle\">
  424.                                             <div class=\"apk-availabilities-number\">
  425.                                                 ";
  426.             // line 172
  427.             if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 172, $this->source); })()), "getPartTime", [], "method", false, false, false, 172)) {
  428.                 // line 173
  429.                 echo "                                                    <img class=\"apk-validate\" uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/check.svg\" alt=\"Check\">
  430.                                                 ";
  431.             } else {
  432.                 // line 175
  433.                 echo "                                                    <img uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/cross.svg\" alt=\"Uncheck\">
  434.                                                 ";
  435.             }
  436.             // line 177
  437.             echo "                                            </div>
  438.                                             
  439.                                             ";
  440.             // line 179
  441.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Temps partiel"), "html", null, true);
  442.             echo "
  443.                                         </li>
  444.                                     </ul>
  445.                                 </div>
  446.                             </div>
  447.                             ";
  448.         }
  449.         // line 185
  450.         echo "
  451.                             ";
  452.         // line 186
  453.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 186, $this->source); })()), "readableSchedule", [], "method", false, false, false, 186)) {
  454.             // line 187
  455.             echo "                                <div class=\"uk-width-1-1@m uk-width-1-2@s\">
  456.                                     <div id=\"schedule\" class=\"apk-aside-container\">
  457.                                         <h2 class=\"uk-h3\">";
  458.             // line 189
  459.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Horaires"), "html", null, true);
  460.             echo "</h2>
  461.                                         <ul class=\"uk-list uk-margin-remove apk-days\">
  462.                                             ";
  463.             // line 191
  464.             $context['_parent'] = $context;
  465.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 191, $this->source); })()), "readableSchedule", [], "method", false, false, false, 191));
  466.             foreach ($context['_seq'] as $context["key"] => $context["day"]) {
  467.                 // line 192
  468.                 echo "                                                <li><span>";
  469.                 echo twig_escape_filter($this->env, twig_slice($this->env, $this->extensions['App\Twig\AppExtension']->dayOfWeek($context["key"]), 0, 2), "html", null, true);
  470.                 echo "</span> ";
  471.                 echo $this->extensions['App\Twig\AppExtension']->isClosed($context["day"]);
  472.                 echo "</li>
  473.                                             ";
  474.             }
  475.             $_parent = $context['_parent'];
  476.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['day'], $context['_parent'], $context['loop']);
  477.             $context = array_intersect_key($context, $_parent) + $_parent;
  478.             // line 194
  479.             echo "                                        </ul>
  480.                                     </div>
  481.                                 </div>
  482.                             ";
  483.         }
  484.         // line 198
  485.         echo "                            <div class=\"uk-width-1-1@m\">
  486.                                 <div id=\"informations\" class=\"apk-aside-container apk-informations\">
  487.                                     <h2 class=\"uk-h3\">";
  488.         // line 200
  489.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Informations"), "html", null, true);
  490.         echo "</h2>
  491.                                     <p class=\"uk-margin-remove-top\"><i>";
  492.         // line 201
  493.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 201, $this->source); })()), "getAddress", [], "method", false, false, false, 201), "format", [], "method", false, false, false, 201), "html", null, true);
  494.         echo "</i></p>
  495.                                     <ul class=\"uk-list\"> 
  496.                                         ";
  497.         // line 203
  498.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 203, $this->source); })()), "getPhone", [], "method", false, false, false, 203)) {
  499.             // line 204
  500.             echo "                                        <li class=\"uk-margin-bottom\">
  501.                                             <a class=\"uk-flex uk-flex-middle\" href=\"tel:";
  502.             // line 205
  503.             echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\Apik']->convertPhoneToPhoneUrl(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 205, $this->source); })()), "getPhone", [], "method", false, false, false, 205)), "html", null, true);
  504.             echo "\" target=\"_blank\">
  505.                                                 <img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/phone.svg\" alt=\"";
  506.             // line 206
  507.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tel"), "html", null, true);
  508.             echo "\">
  509.                                                 ";
  510.             // line 207
  511.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 207, $this->source); })()), "getPhone", [], "method", false, false, false, 207), "html", null, true);
  512.             echo "
  513.                                             </a>
  514.                                         </li>
  515.                                         ";
  516.         }
  517.         // line 211
  518.         echo "                                        ";
  519.         if (twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 211, $this->source); })()), "getWebsite", [], "method", false, false, false, 211)) {
  520.             // line 212
  521.             echo "                                        <li>
  522.                                             <a class=\"uk-flex uk-flex-middle\" href=\"";
  523.             // line 213
  524.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 213, $this->source); })()), "getWebsite", [], "method", false, false, false, 213), "html", null, true);
  525.             echo "\" target=\"_blank\">
  526.                                                 <img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/website.svg\" alt=\"";
  527.             // line 214
  528.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Website"), "html", null, true);
  529.             echo "\">
  530.                                                 ";
  531.             // line 215
  532.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 215, $this->source); })()), "getWebsite", [], "method", false, false, false, 215), "html", null, true);
  533.             echo "
  534.                                             </a>
  535.                                         </li>
  536.                                         ";
  537.         }
  538.         // line 219
  539.         echo "                                        ";
  540.         if ((twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 219, $this->source); })()), "getEmail", [], "method", false, false, false, 219) && twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 219, $this->source); })()), "getPremium", [], "method", false, false, false, 219))) {
  541.             // line 220
  542.             echo "                                        <li>
  543.                                             ";
  544.             // line 221
  545.             echo $this->extensions['App\Twig\Extension\Apik']->emailObfuscatorSvg(twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 221, $this->source); })()), "getEmail", [], "method", false, false, false, 221));
  546.             echo "
  547.                                         </li>
  548.                                         ";
  549.         }
  550.         // line 224
  551.         echo "                                        <div id=\"bookmarkButton\">
  552.                                             ";
  553.         // line 225
  554.         if ((isset($context["bookmarked"]) || array_key_exists("bookmarked", $context) ? $context["bookmarked"] : (function () { throw new RuntimeError('Variable "bookmarked" does not exist.', 225, $this->source); })())) {
  555.             // line 226
  556.             echo "                                            <form action=\"";
  557.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("removeBookmark");
  558.             echo "\" method=\"post\">
  559.                                                 <input type=\"hidden\" name=\"id\" value=\"";
  560.             // line 227
  561.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 227, $this->source); })()), "getID", [], "method", false, false, false, 227), "html", null, true);
  562.             echo "\">
  563.                                                 <button type=\"submit\" class=\"uk-button uk-button-danger\">";
  564.             // line 228
  565.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Supprimer des favoris"), "html", null, true);
  566.             echo "</button>
  567.                                             </form>
  568.                                             ";
  569.         } else {
  570.             // line 231
  571.             echo "                                            <button data-id=\"";
  572.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 231, $this->source); })()), "getId", [], "method", false, false, false, 231), "html", null, true);
  573.             echo "\" class=\"add-to-bookmark uk-button uk-button-primary\">
  574.                                                 ";
  575.             // line 232
  576.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ajouter aux favoris"), "html", null, true);
  577.             echo "
  578.                                             </button>
  579.                                             ";
  580.         }
  581.         // line 235
  582.         echo "                                        </div>
  583.                                     </ul>
  584.                                 </div>
  585.                             </div>
  586.                         </div>
  587.                     </div>
  588.                 </div>
  589.                 <div class=\"uk-margin-large-top\">
  590.                     <div id=\"localisation\">
  591.                         <div id=\"map\"></div>
  592.                         <div style=\"display:none;\" id=\"lat\">";
  593.         // line 246
  594.         if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 246, $this->source); })()), "getAddress", [], "method", false, false, false, 246), "getLocation", [], "method", false, false, false, 246)) {
  595.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 246, $this->source); })()), "getAddress", [], "method", false, false, false, 246), "getLocation", [], "method", false, false, false, 246), "getLatitude", [], "method", false, false, false, 246), "html", null, true);
  596.         }
  597.         echo "</div>
  598.                         <div style=\"display:none;\" id=\"lng\">";
  599.         // line 247
  600.         if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 247, $this->source); })()), "getAddress", [], "method", false, false, false, 247), "getLocation", [], "method", false, false, false, 247)) {
  601.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["business"]) || array_key_exists("business", $context) ? $context["business"] : (function () { throw new RuntimeError('Variable "business" does not exist.', 247, $this->source); })()), "getAddress", [], "method", false, false, false, 247), "getLocation", [], "method", false, false, false, 247), "getLongitude", [], "method", false, false, false, 247), "html", null, true);
  602.         }
  603.         echo "</div>
  604.                     </div>
  605.                 </div>
  606.                 
  607.             </div>
  608.         </div>
  609.     </section>
  610. </main>
  611.     
  612. <input type=\"hidden\" name=\"\" id=\"urlBookmark\" value=\"";
  613.         // line 256
  614.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("addBookmark");
  615.         echo "\">
  616. <input type=\"hidden\" name=\"\" id=\"bookmarkSuccessTrans\" value=\"";
  617.         // line 257
  618.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ajouté aux favoris"), "html", null, true);
  619.         echo "\">
  620. <input type=\"hidden\" name=\"\" id=\"bookmarkFailedTrans\" value=\"";
  621.         // line 258
  622.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vous devez être connecté"), "html", null, true);
  623.         echo "\">
  624. <input type=\"hidden\" name=\"\" id=\"transBtnRemove\" value=\"";
  625.         // line 259
  626.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Supprimer des favoris"), "html", null, true);
  627.         echo "\">
  628. <input type=\"hidden\" name=\"\" id=\"removeBookmark\" value=\"";
  629.         // line 260
  630.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("removeBookmark");
  631.         echo "\">
  632. ";
  633.         
  634.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  635.         
  636.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  637.     }
  638.     public function getTemplateName()
  639.     {
  640.         return "business/detail.html.twig";
  641.     }
  642.     public function isTraitable()
  643.     {
  644.         return false;
  645.     }
  646.     public function getDebugInfo()
  647.     {
  648.         return array (  651 => 260,  647 => 259,  643 => 258,  639 => 257,  635 => 256,  621 => 247,  615 => 246,  602 => 235,  596 => 232,  591 => 231,  585 => 228,  581 => 227,  576 => 226,  574 => 225,  571 => 224,  565 => 221,  562 => 220,  559 => 219,  552 => 215,  548 => 214,  544 => 213,  541 => 212,  538 => 211,  531 => 207,  527 => 206,  523 => 205,  520 => 204,  518 => 203,  513 => 201,  509 => 200,  505 => 198,  499 => 194,  488 => 192,  484 => 191,  479 => 189,  475 => 187,  473 => 186,  470 => 185,  461 => 179,  457 => 177,  453 => 175,  449 => 173,  447 => 172,  440 => 168,  435 => 166,  428 => 162,  423 => 160,  416 => 156,  411 => 154,  404 => 150,  399 => 148,  392 => 144,  387 => 142,  380 => 138,  376 => 136,  374 => 135,  367 => 130,  361 => 127,  358 => 126,  355 => 125,  351 => 123,  344 => 119,  340 => 118,  336 => 117,  333 => 116,  331 => 115,  326 => 113,  321 => 111,  318 => 110,  316 => 109,  312 => 107,  306 => 103,  300 => 102,  297 => 101,  289 => 96,  285 => 95,  281 => 93,  278 => 92,  274 => 91,  271 => 90,  269 => 89,  266 => 88,  264 => 87,  261 => 86,  256 => 83,  247 => 80,  240 => 78,  236 => 76,  232 => 75,  227 => 73,  224 => 72,  221 => 71,  218 => 70,  213 => 67,  208 => 64,  202 => 63,  196 => 61,  190 => 58,  183 => 56,  179 => 54,  176 => 53,  172 => 52,  167 => 50,  164 => 49,  162 => 48,  157 => 45,  152 => 42,  146 => 40,  143 => 39,  141 => 38,  138 => 37,  132 => 34,  129 => 33,  127 => 32,  123 => 30,  117 => 27,  114 => 26,  112 => 25,  105 => 20,  103 => 19,  98 => 17,  92 => 13,  84 => 10,  79 => 8,  73 => 4,  63 => 3,  52 => 1,  50 => 264,  48 => 263,  35 => 1,);
  649.     }
  650.     public function getSourceContext()
  651.     {
  652.         return new Source("{% extends 'layout.html.twig' %}
  653. {% block content %}
  654. <main class=\"main\" role=\"main\">
  655.     <section class=\"apk-business\">
  656.         <div class=\"uk-container\">
  657.             <div class=\"apk-business-banner\">
  658.                 {% if business.getBanner() %} 
  659.                 <div class=\"apk-media uk-cover-container\">
  660.                     <img class=\"uk-cover\" src=\"{{business.getBanner().getThumbnail('full-background')}}\" alt=\"{{ business.getName() }}\" uk-cover>
  661.                 </div>
  662.                 {% endif %}
  663.             </div>
  664.             <div class=\"apk-business-container\">
  665.                 <div class=\"uk-grid-small uk-grid\" uk-grid>
  666.                     <div class=\"uk-width-3-4@m\">
  667.                         <h1 class=\"uk-h2\">{{business.getName()}}</h1>
  668.                         {% if business.getNursery() %}
  669.                         <div class=\"uk-grid-small uk-grid\" uk-grid>
  670.                             <div class=\"uk-width-auto\">
  671.                                 <div class=\"uk-grid-small uk-grid\" uk-grid>
  672.                                     <div class=\"uk-width-auto\">
  673.                                         {% if business.getFrame() %}
  674.                                             <span class=\"uk-button uk-button-secondary uk-button-blue2\">
  675.                                                 {{business.getFrame() |trans}}
  676.                                             </span>
  677.                                         {% endif %}
  678.                                     </div>
  679.                                     <div class=\"uk-width-auto\">
  680.                                         {% if business.getPrice() %}
  681.                                             <span class=\"uk-button uk-button-secondary uk-button-blue2\">
  682.                                                 {{business.getPrice() |trans }}
  683.                                             </span>
  684.                                         {% endif %}
  685.                                     </div>
  686.                                     {% if business.getOrganisation() %}
  687.                                     <div class=\"uk-width-auto\">
  688.                                         <img src=\"{{business.getOrganisation().getImageProfil().getThumbnail('OrgDetails').getPath()}}\" alt=\"{{ business.getOrganisation().getName() }}\">
  689.                                         {# {{ business.getOrganisation().getName() }} #}
  690.                                         
  691.                                     </div>
  692.                                     {% endif %}
  693.                                 </div>
  694.                             </div>
  695.                             <div class=\"uk-width-auto\">
  696.                                 {% if business.getLangs() %}
  697.                                     <div class=\"apk-lang-container\">
  698.                                         <span class=\"apk-font-14\">{{'Langues parlées aux enfants'|trans}}</span>
  699.                                         <ul class=\"uk-list apk-list-inline\">
  700.                                             {% for lang in business.getLangs() %}
  701.                                                 {% if lang.getImage() %}
  702.                                                     <li class=\"uk-text-center\">
  703.                                                         <div class=\"apk-lang uk-cover-container\">
  704.                                                             <img class=\"uk-cover\" width=\"40\" height=\"40\" src=\"{{lang.getImage().getThumbnail('country-thumb') }}\" alt=\"{{ lang.getLang() }}\" uk-cover>
  705.                                                         </div>
  706.                                                         <span class=\"apk-lang-code\">{{ lang.getCode() }}</span>
  707.                                                     </li>
  708.                                                 {% else %}
  709.                                                     <img width=\"40\" height=\"40\" src=\"undefined\" alt=\"{{ lang.getLang() }}\">
  710.                                                 {% endif %}
  711.                                             {% endfor %}
  712.                                         </ul>
  713.                                     </div>
  714.                                 {% endif %}
  715.                             </div>
  716.                         </div>
  717.                         {% endif %}
  718.                         {% if business.getServices() or business.getGallery().getItems()|length or business.getPresentation() %}
  719.                             {% if business.getNursery() and business.getServices() %}
  720.                                 <div id=\"services\" class=\"uk-margin-small-top\">
  721.                                     <h2 class=\"uk-h3\">{{'Les + de la crèche'|trans}}</h2>
  722.                                     <ul class=\"uk-list apk-list-inline apk-services uk-margin-remove\">
  723.                                         {% for service in business.getServices() %}
  724.                                             <li class=\"uk-text-center\">
  725.                                                 <div class=\"apk-services-container uk-flex uk-flex-middle uk-flex-center\">
  726.                                                     <img uk-svg width=\"45\" heigh=\"45\" src=\"{{ service.getImage().getFullPath() }}\" alt=\"{{ service.getName() }}\">
  727.                                                 </div>
  728.                                                 <span class=\"apk-services-text\">{{ service.getName() }}</span>
  729.                                             </li>
  730.                                         {% endfor %}
  731.                                     </ul>
  732.                                 </div>
  733.                             {% endif %}
  734.                             {% if business.getGallery().getItems()|length %}
  735.                                 <div id=\"gallery\" class=\"uk-margin-medium-top\">
  736.                                     {% set i = 1 %}
  737.                                     <div class=\"uk-grid-small uk-child-width-1-3@s uk-child-width-1-2 uk-flex uk-flex-center uk-grid\" uk-grid uk-lightbox>
  738.                                         {% for image in business.getGallery() %}
  739.                                             {% if i <= 10 %}
  740.                                                 <div>
  741.                                                     <div class=\"uk-cover-container apk-gallery\">
  742.                                                         <a href=\"{{image.getThumbnail('gallery-lightbox') }}\">
  743.                                                             <img class=\"uk-cover\" src=\"{{image.getThumbnail('gallery-thumb') }}\" uk-cover>
  744.                                                         </a>
  745.                                                     </div>
  746.                                                 </div>
  747.                                             {% endif %}
  748.                                             {% set i = i + 1 %}
  749.                                         {% endfor %}
  750.                                     </div>
  751.                                 </div>
  752.                             {% endif %}
  753.                             {% if business.getPresentation() %}
  754.                                 <div id=\"description\" class=\"uk-margin-medium-top\">
  755.                                     <h2 class=\"uk-h3\">{{'Présentation'|trans}}</h2>
  756.                                     
  757.                                     {{business.getPresentation()|raw}}
  758.                                     {% if business.getDoc() %}
  759.                                         <div class=\"uk-flex uk-flex-right\">
  760.                                             <a class=\"uk-button uk-button-primary uk-flex uk-flex-middle uk-flex-center\" href=\"{{business.getDoc()}}\" target=\"_blank\">
  761.                                                 {{'Télécharger le projet pédagogique' | trans}}
  762.                                                 <img uk-svg class=\"uk-margin-small-left\" width=\"7\" height=\"18\" src=\"/static/img/pictos/arrow-download.svg\" alt=\"{{ \"Télécharger\"|trans }}\">
  763.                                             </a>
  764.                                         </div>
  765.                                     {% endif %}
  766.                                 </div>
  767.                             {% endif %}
  768.                         {% else %}
  769.                             <div class=\"uk-margin-medium-top\">
  770.                                 <h2 class=\"uk-h3\">{{\"Pas d'informations\"|trans}}</h2>
  771.                             </div>
  772.                         {% endif %}
  773.                     </div>
  774.                     <div class=\"uk-width-1-4@m\">
  775.                         <div class=\"uk-grid-small uk-grid\" uk-grid>
  776.                             {% if business.getNursery() %}
  777.                             <div class=\"uk-width-1-1@m uk-width-1-2@s\">
  778.                                 <div id=\"availabilities\" class=\"apk-availabilities\">
  779.                                     <h2 class=\"uk-h3\">{{'Place(s) disponible(s)'|trans}}</h2>
  780.                                     <ul class=\"uk-list uk-margin-remove\">
  781.                                         <li class=\"uk-flex uk-flex-middle\">
  782.                                             <div class=\"apk-availabilities-number\">
  783.                                                 <span>{{business.availableNow()}}</span>
  784.                                             </div>
  785.                                             {{'Dès maintenant'|trans}}
  786.                                         </li>
  787.                                         <li class=\"uk-flex uk-flex-middle\">
  788.                                             <div class=\"apk-availabilities-number\">
  789.                                                 <span>{{business.availableThreeMonth()}}</span>
  790.                                             </div>
  791.                                             {{'Dans les 3 mois'|trans}}
  792.                                         </li>
  793.                                         <li class=\"uk-flex uk-flex-middle\">
  794.                                             <div class=\"apk-availabilities-number\">
  795.                                                 <span>{{business.availableSixMonth()}}</span>
  796.                                             </div>
  797.                                             {{'De 4 à 6 mois'|trans}}
  798.                                         </li>
  799.                                         <li class=\"uk-flex uk-flex-middle\">
  800.                                             <div class=\"apk-availabilities-number\">
  801.                                                 <span>{{business.availableNineMonth()}}</span>
  802.                                             </div>
  803.                                             {{'De 7 à 9 mois'|trans}}
  804.                                         </li>
  805.                                         <li class=\"uk-flex uk-flex-middle\">
  806.                                             <div class=\"apk-availabilities-number\">
  807.                                                 <span>{{business.availableTwelveMonth()}}</span>
  808.                                             </div>
  809.                                             {{'De 10 à 12 mois'|trans}}
  810.                                         </li>
  811.                                         <li class=\"uk-flex uk-flex-middle\">
  812.                                             <div class=\"apk-availabilities-number\">
  813.                                                 {% if business.getPartTime() %}
  814.                                                     <img class=\"apk-validate\" uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/check.svg\" alt=\"Check\">
  815.                                                 {% else %}
  816.                                                     <img uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/cross.svg\" alt=\"Uncheck\">
  817.                                                 {% endif %}
  818.                                             </div>
  819.                                             
  820.                                             {{'Temps partiel'|trans}}
  821.                                         </li>
  822.                                     </ul>
  823.                                 </div>
  824.                             </div>
  825.                             {% endif %}
  826.                             {% if business.readableSchedule() %}
  827.                                 <div class=\"uk-width-1-1@m uk-width-1-2@s\">
  828.                                     <div id=\"schedule\" class=\"apk-aside-container\">
  829.                                         <h2 class=\"uk-h3\">{{'Horaires' |trans}}</h2>
  830.                                         <ul class=\"uk-list uk-margin-remove apk-days\">
  831.                                             {% for key, day in business.readableSchedule() %}
  832.                                                 <li><span>{{ dayOfWeek(key)[:2] }}</span> {{ (day | isClosed|raw) }}</li>
  833.                                             {% endfor %}
  834.                                         </ul>
  835.                                     </div>
  836.                                 </div>
  837.                             {% endif %}
  838.                             <div class=\"uk-width-1-1@m\">
  839.                                 <div id=\"informations\" class=\"apk-aside-container apk-informations\">
  840.                                     <h2 class=\"uk-h3\">{{'Informations'|trans}}</h2>
  841.                                     <p class=\"uk-margin-remove-top\"><i>{{business.getAddress().format()}}</i></p>
  842.                                     <ul class=\"uk-list\"> 
  843.                                         {% if business.getPhone() %}
  844.                                         <li class=\"uk-margin-bottom\">
  845.                                             <a class=\"uk-flex uk-flex-middle\" href=\"tel:{{ convert_phone_to_url(business.getPhone()) }}\" target=\"_blank\">
  846.                                                 <img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/phone.svg\" alt=\"{{ \"Tel\"|trans }}\">
  847.                                                 {{business.getPhone()}}
  848.                                             </a>
  849.                                         </li>
  850.                                         {% endif %}
  851.                                         {% if business.getWebsite() %}
  852.                                         <li>
  853.                                             <a class=\"uk-flex uk-flex-middle\" href=\"{{business.getWebsite()}}\" target=\"_blank\">
  854.                                                 <img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/website.svg\" alt=\"{{ \"Website\"|trans }}\">
  855.                                                 {{business.getWebsite()}}
  856.                                             </a>
  857.                                         </li>
  858.                                         {% endif %}
  859.                                         {% if business.getEmail() and business.getPremium() %}
  860.                                         <li>
  861.                                             {{ email_obfuscator_svg(business.getEmail())|raw }}
  862.                                         </li>
  863.                                         {% endif %}
  864.                                         <div id=\"bookmarkButton\">
  865.                                             {% if bookmarked %}
  866.                                             <form action=\"{{path('removeBookmark')}}\" method=\"post\">
  867.                                                 <input type=\"hidden\" name=\"id\" value=\"{{business.getID()}}\">
  868.                                                 <button type=\"submit\" class=\"uk-button uk-button-danger\">{{'Supprimer des favoris'|trans}}</button>
  869.                                             </form>
  870.                                             {% else %}
  871.                                             <button data-id=\"{{business.getId()}}\" class=\"add-to-bookmark uk-button uk-button-primary\">
  872.                                                 {{'Ajouter aux favoris' | trans}}
  873.                                             </button>
  874.                                             {% endif %}
  875.                                         </div>
  876.                                     </ul>
  877.                                 </div>
  878.                             </div>
  879.                         </div>
  880.                     </div>
  881.                 </div>
  882.                 <div class=\"uk-margin-large-top\">
  883.                     <div id=\"localisation\">
  884.                         <div id=\"map\"></div>
  885.                         <div style=\"display:none;\" id=\"lat\">{% if business.getAddress().getLocation() %}{{business.getAddress().getLocation().getLatitude()}}{% endif %}</div>
  886.                         <div style=\"display:none;\" id=\"lng\">{% if business.getAddress().getLocation() %}{{business.getAddress().getLocation().getLongitude()}}{% endif %}</div>
  887.                     </div>
  888.                 </div>
  889.                 
  890.             </div>
  891.         </div>
  892.     </section>
  893. </main>
  894.     
  895. <input type=\"hidden\" name=\"\" id=\"urlBookmark\" value=\"{{path('addBookmark')}}\">
  896. <input type=\"hidden\" name=\"\" id=\"bookmarkSuccessTrans\" value=\"{{'Ajouté aux favoris'|trans}}\">
  897. <input type=\"hidden\" name=\"\" id=\"bookmarkFailedTrans\" value=\"{{'Vous devez être connecté'|trans}}\">
  898. <input type=\"hidden\" name=\"\" id=\"transBtnRemove\" value=\"{{'Supprimer des favoris'|trans}}\">
  899. <input type=\"hidden\" name=\"\" id=\"removeBookmark\" value=\"{{path('removeBookmark')}}\">
  900. {%  endblock %}
  901. {% do pimcore_head_script().appendFile('/static/js/exkmapStatic.js') %}
  902. {% do pimcore_head_script().appendFile('https://maps.googleapis.com/maps/api/js?key='~ pimcore_website_config('googleMapsApiKey') ~'&callback=initMap') %}", "business/detail.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/business/detail.html.twig");
  903.     }
  904. }