<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* business/detail.html.twig */
class __TwigTemplate_4d0d247333a6156cd53999d8f9a218e2270a891a641b7a715e4b940449a24c4c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "business/detail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "business/detail.html.twig"));
// line 263
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);
// line 264
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);
// line 1
$this->parent = $this->loadTemplate("layout.html.twig", "business/detail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo "<main class=\"main\" role=\"main\">
<section class=\"apk-business\">
<div class=\"uk-container\">
<div class=\"apk-business-banner\">
";
// line 8
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)) {
echo "
<div class=\"apk-media uk-cover-container\">
<img class=\"uk-cover\" src=\"";
// line 10
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);
echo "\" alt=\"";
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);
echo "\" uk-cover>
</div>
";
}
// line 13
echo " </div>
<div class=\"apk-business-container\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-3-4@m\">
<h1 class=\"uk-h2\">";
// line 17
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);
echo "</h1>
";
// line 19
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)) {
// line 20
echo " <div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-auto\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-auto\">
";
// line 25
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)) {
// line 26
echo " <span class=\"uk-button uk-button-secondary uk-button-blue2\">
";
// line 27
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);
echo "
</span>
";
}
// line 30
echo " </div>
<div class=\"uk-width-auto\">
";
// line 32
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)) {
// line 33
echo " <span class=\"uk-button uk-button-secondary uk-button-blue2\">
";
// line 34
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);
echo "
</span>
";
}
// line 37
echo " </div>
";
// line 38
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)) {
// line 39
echo " <div class=\"uk-width-auto\">
<img src=\"";
// line 40
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);
echo "\" alt=\"";
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);
echo "\">
";
// line 42
echo "
</div>
";
}
// line 45
echo " </div>
</div>
<div class=\"uk-width-auto\">
";
// line 48
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)) {
// line 49
echo " <div class=\"apk-lang-container\">
<span class=\"apk-font-14\">";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Langues parlées aux enfants"), "html", null, true);
echo "</span>
<ul class=\"uk-list apk-list-inline\">
";
// line 52
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["lang"]) {
// line 53
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["lang"], "getImage", [], "method", false, false, false, 53)) {
// line 54
echo " <li class=\"uk-text-center\">
<div class=\"apk-lang uk-cover-container\">
<img class=\"uk-cover\" width=\"40\" height=\"40\" src=\"";
// line 56
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);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getLang", [], "method", false, false, false, 56), "html", null, true);
echo "\" uk-cover>
</div>
<span class=\"apk-lang-code\">";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getCode", [], "method", false, false, false, 58), "html", null, true);
echo "</span>
</li>
";
} else {
// line 61
echo " <img width=\"40\" height=\"40\" src=\"undefined\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "getLang", [], "method", false, false, false, 61), "html", null, true);
echo "\">
";
}
// line 63
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lang'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo " </ul>
</div>
";
}
// line 67
echo " </div>
</div>
";
}
// line 70
echo " ";
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))) {
// line 71
echo " ";
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))) {
// line 72
echo " <div id=\"services\" class=\"uk-margin-small-top\">
<h2 class=\"uk-h3\">";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Les + de la crèche"), "html", null, true);
echo "</h2>
<ul class=\"uk-list apk-list-inline apk-services uk-margin-remove\">
";
// line 75
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 76
echo " <li class=\"uk-text-center\">
<div class=\"apk-services-container uk-flex uk-flex-middle uk-flex-center\">
<img uk-svg width=\"45\" heigh=\"45\" src=\"";
// line 78
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);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "getName", [], "method", false, false, false, 78), "html", null, true);
echo "\">
</div>
<span class=\"apk-services-text\">";
// line 80
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "getName", [], "method", false, false, false, 80), "html", null, true);
echo "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 83
echo " </ul>
</div>
";
}
// line 86
echo "
";
// line 87
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))) {
// line 88
echo " <div id=\"gallery\" class=\"uk-margin-medium-top\">
";
// line 89
$context["i"] = 1;
// line 90
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>
";
// line 91
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 92
echo " ";
if (((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 92, $this->source); })()) <= 10)) {
// line 93
echo " <div>
<div class=\"uk-cover-container apk-gallery\">
<a href=\"";
// line 95
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);
echo "\">
<img class=\"uk-cover\" src=\"";
// line 96
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);
echo "\" uk-cover>
</a>
</div>
</div>
";
}
// line 101
echo " ";
$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);
// line 102
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
echo "
</div>
</div>
";
}
// line 107
echo "
";
// line 109
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)) {
// line 110
echo " <div id=\"description\" class=\"uk-margin-medium-top\">
<h2 class=\"uk-h3\">";
// line 111
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Présentation"), "html", null, true);
echo "</h2>
";
// line 113
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);
echo "
";
// line 115
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)) {
// line 116
echo " <div class=\"uk-flex uk-flex-right\">
<a class=\"uk-button uk-button-primary uk-flex uk-flex-middle uk-flex-center\" href=\"";
// line 117
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);
echo "\" target=\"_blank\">
";
// line 118
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger le projet pédagogique"), "html", null, true);
echo "
<img uk-svg class=\"uk-margin-small-left\" width=\"7\" height=\"18\" src=\"/static/img/pictos/arrow-download.svg\" alt=\"";
// line 119
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Télécharger"), "html", null, true);
echo "\">
</a>
</div>
";
}
// line 123
echo " </div>
";
}
// line 125
echo " ";
} else {
// line 126
echo " <div class=\"uk-margin-medium-top\">
<h2 class=\"uk-h3\">";
// line 127
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pas d'informations"), "html", null, true);
echo "</h2>
</div>
";
}
// line 130
echo " </div>
<div class=\"uk-width-1-4@m\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
";
// line 135
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)) {
// line 136
echo " <div class=\"uk-width-1-1@m uk-width-1-2@s\">
<div id=\"availabilities\" class=\"apk-availabilities\">
<h2 class=\"uk-h3\">";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Place(s) disponible(s)"), "html", null, true);
echo "</h2>
<ul class=\"uk-list uk-margin-remove\">
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>";
// line 142
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);
echo "</span>
</div>
";
// line 144
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dès maintenant"), "html", null, true);
echo "
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>";
// line 148
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);
echo "</span>
</div>
";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dans les 3 mois"), "html", null, true);
echo "
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>";
// line 154
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);
echo "</span>
</div>
";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 4 à 6 mois"), "html", null, true);
echo "
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>";
// line 160
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);
echo "</span>
</div>
";
// line 162
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 7 à 9 mois"), "html", null, true);
echo "
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>";
// line 166
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);
echo "</span>
</div>
";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De 10 à 12 mois"), "html", null, true);
echo "
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
";
// line 172
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)) {
// line 173
echo " <img class=\"apk-validate\" uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/check.svg\" alt=\"Check\">
";
} else {
// line 175
echo " <img uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/cross.svg\" alt=\"Uncheck\">
";
}
// line 177
echo " </div>
";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Temps partiel"), "html", null, true);
echo "
</li>
</ul>
</div>
</div>
";
}
// line 185
echo "
";
// line 186
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)) {
// line 187
echo " <div class=\"uk-width-1-1@m uk-width-1-2@s\">
<div id=\"schedule\" class=\"apk-aside-container\">
<h2 class=\"uk-h3\">";
// line 189
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Horaires"), "html", null, true);
echo "</h2>
<ul class=\"uk-list uk-margin-remove apk-days\">
";
// line 191
$context['_parent'] = $context;
$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));
foreach ($context['_seq'] as $context["key"] => $context["day"]) {
// line 192
echo " <li><span>";
echo twig_escape_filter($this->env, twig_slice($this->env, $this->extensions['App\Twig\AppExtension']->dayOfWeek($context["key"]), 0, 2), "html", null, true);
echo "</span> ";
echo $this->extensions['App\Twig\AppExtension']->isClosed($context["day"]);
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['day'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 194
echo " </ul>
</div>
</div>
";
}
// line 198
echo " <div class=\"uk-width-1-1@m\">
<div id=\"informations\" class=\"apk-aside-container apk-informations\">
<h2 class=\"uk-h3\">";
// line 200
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Informations"), "html", null, true);
echo "</h2>
<p class=\"uk-margin-remove-top\"><i>";
// line 201
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);
echo "</i></p>
<ul class=\"uk-list\">
";
// line 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.', 203, $this->source); })()), "getPhone", [], "method", false, false, false, 203)) {
// line 204
echo " <li class=\"uk-margin-bottom\">
<a class=\"uk-flex uk-flex-middle\" href=\"tel:";
// line 205
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);
echo "\" target=\"_blank\">
<img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/phone.svg\" alt=\"";
// line 206
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tel"), "html", null, true);
echo "\">
";
// line 207
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);
echo "
</a>
</li>
";
}
// line 211
echo " ";
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)) {
// line 212
echo " <li>
<a class=\"uk-flex uk-flex-middle\" href=\"";
// line 213
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);
echo "\" target=\"_blank\">
<img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/website.svg\" alt=\"";
// line 214
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Website"), "html", null, true);
echo "\">
";
// line 215
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);
echo "
</a>
</li>
";
}
// line 219
echo " ";
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))) {
// line 220
echo " <li>
";
// line 221
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));
echo "
</li>
";
}
// line 224
echo " <div id=\"bookmarkButton\">
";
// line 225
if ((isset($context["bookmarked"]) || array_key_exists("bookmarked", $context) ? $context["bookmarked"] : (function () { throw new RuntimeError('Variable "bookmarked" does not exist.', 225, $this->source); })())) {
// line 226
echo " <form action=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("removeBookmark");
echo "\" method=\"post\">
<input type=\"hidden\" name=\"id\" value=\"";
// line 227
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);
echo "\">
<button type=\"submit\" class=\"uk-button uk-button-danger\">";
// line 228
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Supprimer des favoris"), "html", null, true);
echo "</button>
</form>
";
} else {
// line 231
echo " <button data-id=\"";
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);
echo "\" class=\"add-to-bookmark uk-button uk-button-primary\">
";
// line 232
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ajouter aux favoris"), "html", null, true);
echo "
</button>
";
}
// line 235
echo " </div>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"uk-margin-large-top\">
<div id=\"localisation\">
<div id=\"map\"></div>
<div style=\"display:none;\" id=\"lat\">";
// line 246
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)) {
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);
}
echo "</div>
<div style=\"display:none;\" id=\"lng\">";
// line 247
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)) {
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);
}
echo "</div>
</div>
</div>
</div>
</div>
</section>
</main>
<input type=\"hidden\" name=\"\" id=\"urlBookmark\" value=\"";
// line 256
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("addBookmark");
echo "\">
<input type=\"hidden\" name=\"\" id=\"bookmarkSuccessTrans\" value=\"";
// line 257
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ajouté aux favoris"), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"\" id=\"bookmarkFailedTrans\" value=\"";
// line 258
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vous devez être connecté"), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"\" id=\"transBtnRemove\" value=\"";
// line 259
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Supprimer des favoris"), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"\" id=\"removeBookmark\" value=\"";
// line 260
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("removeBookmark");
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "business/detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block content %}
<main class=\"main\" role=\"main\">
<section class=\"apk-business\">
<div class=\"uk-container\">
<div class=\"apk-business-banner\">
{% if business.getBanner() %}
<div class=\"apk-media uk-cover-container\">
<img class=\"uk-cover\" src=\"{{business.getBanner().getThumbnail('full-background')}}\" alt=\"{{ business.getName() }}\" uk-cover>
</div>
{% endif %}
</div>
<div class=\"apk-business-container\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-3-4@m\">
<h1 class=\"uk-h2\">{{business.getName()}}</h1>
{% if business.getNursery() %}
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-auto\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-auto\">
{% if business.getFrame() %}
<span class=\"uk-button uk-button-secondary uk-button-blue2\">
{{business.getFrame() |trans}}
</span>
{% endif %}
</div>
<div class=\"uk-width-auto\">
{% if business.getPrice() %}
<span class=\"uk-button uk-button-secondary uk-button-blue2\">
{{business.getPrice() |trans }}
</span>
{% endif %}
</div>
{% if business.getOrganisation() %}
<div class=\"uk-width-auto\">
<img src=\"{{business.getOrganisation().getImageProfil().getThumbnail('OrgDetails').getPath()}}\" alt=\"{{ business.getOrganisation().getName() }}\">
{# {{ business.getOrganisation().getName() }} #}
</div>
{% endif %}
</div>
</div>
<div class=\"uk-width-auto\">
{% if business.getLangs() %}
<div class=\"apk-lang-container\">
<span class=\"apk-font-14\">{{'Langues parlées aux enfants'|trans}}</span>
<ul class=\"uk-list apk-list-inline\">
{% for lang in business.getLangs() %}
{% if lang.getImage() %}
<li class=\"uk-text-center\">
<div class=\"apk-lang uk-cover-container\">
<img class=\"uk-cover\" width=\"40\" height=\"40\" src=\"{{lang.getImage().getThumbnail('country-thumb') }}\" alt=\"{{ lang.getLang() }}\" uk-cover>
</div>
<span class=\"apk-lang-code\">{{ lang.getCode() }}</span>
</li>
{% else %}
<img width=\"40\" height=\"40\" src=\"undefined\" alt=\"{{ lang.getLang() }}\">
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
</div>
</div>
{% endif %}
{% if business.getServices() or business.getGallery().getItems()|length or business.getPresentation() %}
{% if business.getNursery() and business.getServices() %}
<div id=\"services\" class=\"uk-margin-small-top\">
<h2 class=\"uk-h3\">{{'Les + de la crèche'|trans}}</h2>
<ul class=\"uk-list apk-list-inline apk-services uk-margin-remove\">
{% for service in business.getServices() %}
<li class=\"uk-text-center\">
<div class=\"apk-services-container uk-flex uk-flex-middle uk-flex-center\">
<img uk-svg width=\"45\" heigh=\"45\" src=\"{{ service.getImage().getFullPath() }}\" alt=\"{{ service.getName() }}\">
</div>
<span class=\"apk-services-text\">{{ service.getName() }}</span>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if business.getGallery().getItems()|length %}
<div id=\"gallery\" class=\"uk-margin-medium-top\">
{% set i = 1 %}
<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>
{% for image in business.getGallery() %}
{% if i <= 10 %}
<div>
<div class=\"uk-cover-container apk-gallery\">
<a href=\"{{image.getThumbnail('gallery-lightbox') }}\">
<img class=\"uk-cover\" src=\"{{image.getThumbnail('gallery-thumb') }}\" uk-cover>
</a>
</div>
</div>
{% endif %}
{% set i = i + 1 %}
{% endfor %}
</div>
</div>
{% endif %}
{% if business.getPresentation() %}
<div id=\"description\" class=\"uk-margin-medium-top\">
<h2 class=\"uk-h3\">{{'Présentation'|trans}}</h2>
{{business.getPresentation()|raw}}
{% if business.getDoc() %}
<div class=\"uk-flex uk-flex-right\">
<a class=\"uk-button uk-button-primary uk-flex uk-flex-middle uk-flex-center\" href=\"{{business.getDoc()}}\" target=\"_blank\">
{{'Télécharger le projet pédagogique' | trans}}
<img uk-svg class=\"uk-margin-small-left\" width=\"7\" height=\"18\" src=\"/static/img/pictos/arrow-download.svg\" alt=\"{{ \"Télécharger\"|trans }}\">
</a>
</div>
{% endif %}
</div>
{% endif %}
{% else %}
<div class=\"uk-margin-medium-top\">
<h2 class=\"uk-h3\">{{\"Pas d'informations\"|trans}}</h2>
</div>
{% endif %}
</div>
<div class=\"uk-width-1-4@m\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
{% if business.getNursery() %}
<div class=\"uk-width-1-1@m uk-width-1-2@s\">
<div id=\"availabilities\" class=\"apk-availabilities\">
<h2 class=\"uk-h3\">{{'Place(s) disponible(s)'|trans}}</h2>
<ul class=\"uk-list uk-margin-remove\">
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>{{business.availableNow()}}</span>
</div>
{{'Dès maintenant'|trans}}
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>{{business.availableThreeMonth()}}</span>
</div>
{{'Dans les 3 mois'|trans}}
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>{{business.availableSixMonth()}}</span>
</div>
{{'De 4 à 6 mois'|trans}}
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>{{business.availableNineMonth()}}</span>
</div>
{{'De 7 à 9 mois'|trans}}
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
<span>{{business.availableTwelveMonth()}}</span>
</div>
{{'De 10 à 12 mois'|trans}}
</li>
<li class=\"uk-flex uk-flex-middle\">
<div class=\"apk-availabilities-number\">
{% if business.getPartTime() %}
<img class=\"apk-validate\" uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/check.svg\" alt=\"Check\">
{% else %}
<img uk-svg width=\"20\" height=\"20\" src=\"/static/img/pictos/cross.svg\" alt=\"Uncheck\">
{% endif %}
</div>
{{'Temps partiel'|trans}}
</li>
</ul>
</div>
</div>
{% endif %}
{% if business.readableSchedule() %}
<div class=\"uk-width-1-1@m uk-width-1-2@s\">
<div id=\"schedule\" class=\"apk-aside-container\">
<h2 class=\"uk-h3\">{{'Horaires' |trans}}</h2>
<ul class=\"uk-list uk-margin-remove apk-days\">
{% for key, day in business.readableSchedule() %}
<li><span>{{ dayOfWeek(key)[:2] }}</span> {{ (day | isClosed|raw) }}</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
<div class=\"uk-width-1-1@m\">
<div id=\"informations\" class=\"apk-aside-container apk-informations\">
<h2 class=\"uk-h3\">{{'Informations'|trans}}</h2>
<p class=\"uk-margin-remove-top\"><i>{{business.getAddress().format()}}</i></p>
<ul class=\"uk-list\">
{% if business.getPhone() %}
<li class=\"uk-margin-bottom\">
<a class=\"uk-flex uk-flex-middle\" href=\"tel:{{ convert_phone_to_url(business.getPhone()) }}\" target=\"_blank\">
<img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/phone.svg\" alt=\"{{ \"Tel\"|trans }}\">
{{business.getPhone()}}
</a>
</li>
{% endif %}
{% if business.getWebsite() %}
<li>
<a class=\"uk-flex uk-flex-middle\" href=\"{{business.getWebsite()}}\" target=\"_blank\">
<img class=\"uk-margin-small-right\" width=\"25\" height=\"25\" src=\"/static/img/pictos/website.svg\" alt=\"{{ \"Website\"|trans }}\">
{{business.getWebsite()}}
</a>
</li>
{% endif %}
{% if business.getEmail() and business.getPremium() %}
<li>
{{ email_obfuscator_svg(business.getEmail())|raw }}
</li>
{% endif %}
<div id=\"bookmarkButton\">
{% if bookmarked %}
<form action=\"{{path('removeBookmark')}}\" method=\"post\">
<input type=\"hidden\" name=\"id\" value=\"{{business.getID()}}\">
<button type=\"submit\" class=\"uk-button uk-button-danger\">{{'Supprimer des favoris'|trans}}</button>
</form>
{% else %}
<button data-id=\"{{business.getId()}}\" class=\"add-to-bookmark uk-button uk-button-primary\">
{{'Ajouter aux favoris' | trans}}
</button>
{% endif %}
</div>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"uk-margin-large-top\">
<div id=\"localisation\">
<div id=\"map\"></div>
<div style=\"display:none;\" id=\"lat\">{% if business.getAddress().getLocation() %}{{business.getAddress().getLocation().getLatitude()}}{% endif %}</div>
<div style=\"display:none;\" id=\"lng\">{% if business.getAddress().getLocation() %}{{business.getAddress().getLocation().getLongitude()}}{% endif %}</div>
</div>
</div>
</div>
</div>
</section>
</main>
<input type=\"hidden\" name=\"\" id=\"urlBookmark\" value=\"{{path('addBookmark')}}\">
<input type=\"hidden\" name=\"\" id=\"bookmarkSuccessTrans\" value=\"{{'Ajouté aux favoris'|trans}}\">
<input type=\"hidden\" name=\"\" id=\"bookmarkFailedTrans\" value=\"{{'Vous devez être connecté'|trans}}\">
<input type=\"hidden\" name=\"\" id=\"transBtnRemove\" value=\"{{'Supprimer des favoris'|trans}}\">
<input type=\"hidden\" name=\"\" id=\"removeBookmark\" value=\"{{path('removeBookmark')}}\">
{% endblock %}
{% do pimcore_head_script().appendFile('/static/js/exkmapStatic.js') %}
{% 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");
}
}