<?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;
/* front_v4/mca/hearing_brand/single.html.twig */
class __TwigTemplate_8fed529df8c3bf4cf390af76e42aa7421cfdf2e2123192912d90585d87c120ed extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_title' => [$this, 'block_meta_title'],
'meta_description' => [$this, 'block_meta_description'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front_v4/base.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", "front_v4/mca/hearing_brand/single.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front_v4/mca/hearing_brand/single.html.twig"));
$this->parent = $this->loadTemplate("front_v4/base.html.twig", "front_v4/mca/hearing_brand/single.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_meta_title($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", "meta_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
echo " Liste des audioprothésistes ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 3, $this->source); })()), "name", [], "any", false, false, false, 3), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_meta_description($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", "meta_description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description"));
echo "Trouvez les audioprothésistes ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 4, $this->source); })()), "name", [], "any", false, false, false, 4), "html", null, true);
echo " proches de chez vous. Mon Centre Auditif aide toutes les personnes cherchant un audioprothésiste proche de leur domicile.";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
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 7
echo " <!-- ========== MAIN CONTENT ========== -->
<main id=\"content\" role=\"main\">
<!-- Content -->
<div class=\"container content-space-t-1 content-space-t-sm-2 content-space-b-2\">
<div class=\"row\">
<div class=\"col-md-5 col-lg-4 mb-4 mb-md-0\">
<!-- Sticky Block -->
<div id=\"stickyBlockStartPoint\">
<div class=\"js-sticky-block\"
data-hs-sticky-block-options='{
\"parentSelector\": \"#stickyBlockStartPoint\",
\"breakpoint\": \"lg\",
\"startPoint\": \"#stickyBlockStartPoint\",
\"endPoint\": \"#stickyBlockEndPoint\",
\"stickyOffsetTop\": 80,
\"stickyOffsetBottom\": 80
}'>
<!-- Card -->
<div class=\"card\">
<!-- Card Header -->
<div class=\"card-header text-center\">
<div class=\"mb-3\">
<img class=\"\"
src=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 30, $this->source); })()), "logoFile"), "brand_logo_large"), "html", null, true);
echo "\"
alt=\"Audioprothésiste ";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 31, $this->source); })()), "name", [], "any", false, false, false, 31), "html", null, true);
echo "\">
</div>
</div>
<!-- End Card Header -->
<!-- Card Body -->
<div class=\"card-body\">
<div class=\"mb-2\">
<h5>Nombre de centre :</h5>
<p>";
// line 40
echo twig_escape_filter($this->env, (isset($context["nbOfCenter"]) || array_key_exists("nbOfCenter", $context) ? $context["nbOfCenter"] : (function () { throw new RuntimeError('Variable "nbOfCenter" does not exist.', 40, $this->source); })()), "html", null, true);
echo "</p>
</div>
";
// line 42
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 42, $this->source); })()), "address", [], "any", false, false, false, 42))) {
// line 43
echo " <div class=\"mb-2\">
<h5>Adresse :</h5>
<p>";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 45, $this->source); })()), "address", [], "any", false, false, false, 45), "html", null, true);
echo "</p>
</div>
";
}
// line 48
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 48, $this->source); })()), "phoneNumber", [], "any", false, false, false, 48))) {
// line 49
echo " <div class=\"mb-2\">
<h5>Contact :</h5>
<div class=\"d-flex justify-content-center\">
<a href=\"tel:";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 52, $this->source); })()), "phoneNumber", [], "any", false, false, false, 52), "html", null, true);
echo "\" class=\"w-100\">
<button type=\"button\"
class=\"btn btn-block btn-soft-success transition-3d-hover w-100\">
<span class=\"bi-phone\"></span> ";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 55, $this->source); })()), "phoneNumber", [], "any", false, false, false, 55), "html", null, true);
echo "
<small class=\"d-block\">service et appels gratuits</small>
</button>
</a>
</div>
</div>
";
}
// line 62
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 62, $this->source); })()), "openingHours", [], "any", false, false, false, 62))) {
// line 63
echo " <div class=\"mb-2\">
<h5>Horaires d'ouverture :</h5>
<p>";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 65, $this->source); })()), "openingHours", [], "any", false, false, false, 65), "html", null, true);
echo "</p>
</div>
";
}
// line 68
echo " <a class=\"btn btn-primary btn-transition w-100\"
href=\"";
// line 69
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_acquisition_seo_v4");
echo "\">
<i class=\"bi-headphones me-2\"></i> Demande de bilan
</a>
</div>
<!-- End Card Body -->
</div>
<!-- End Card -->
</div>
</div>
<!-- End Sticky Block -->
</div>
<!-- End Col -->
<div class=\"col-md-7 col-lg-8\">
<div class=\"ps-lg-6\">
<div class=\"mb-3 mb-sm-0 me-2\">
<h2>Découvrez l'audioprothésiste <span
class=\"text-primary text-highlight-warning\">";
// line 85
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 85, $this->source); })()), "name", [], "any", false, false, false, 85), "html", null, true);
echo "</span></h2>
</div>
<div class=\"border-bottom pb-5 mb-5 mt-5\">
";
// line 88
echo twig_get_attribute($this->env, $this->source, (isset($context["hearingBrand"]) || array_key_exists("hearingBrand", $context) ? $context["hearingBrand"] : (function () { throw new RuntimeError('Variable "hearingBrand" does not exist.', 88, $this->source); })()), "wording", [], "any", false, false, false, 88);
echo "
</div>
";
// line 91
$this->loadTemplate("front_v4/mca/components/_cross_sell_grid.html.twig", "front_v4/mca/hearing_brand/single.html.twig", 91)->display($context);
// line 92
echo "
<!-- Sticky Block End Point -->
<div id=\"stickyBlockEndPoint\"></div>
</div>
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
<!-- End Content -->
</main>
<!-- ========== END MAIN CONTENT ========== -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 106
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 107
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("hearing_maker_single");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front_v4/mca/hearing_brand/single.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 275 => 107, 265 => 106, 243 => 92, 241 => 91, 235 => 88, 229 => 85, 210 => 69, 207 => 68, 201 => 65, 197 => 63, 194 => 62, 184 => 55, 178 => 52, 173 => 49, 170 => 48, 164 => 45, 160 => 43, 158 => 42, 153 => 40, 141 => 31, 137 => 30, 112 => 7, 102 => 6, 81 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'front_v4/base.html.twig' %}
{% block meta_title %} Liste des audioprothésistes {{ hearingBrand.name }}{% endblock meta_title %}
{% block meta_description %}Trouvez les audioprothésistes {{ hearingBrand.name }} proches de chez vous. Mon Centre Auditif aide toutes les personnes cherchant un audioprothésiste proche de leur domicile.{% endblock meta_description %}
{% block content %}
<!-- ========== MAIN CONTENT ========== -->
<main id=\"content\" role=\"main\">
<!-- Content -->
<div class=\"container content-space-t-1 content-space-t-sm-2 content-space-b-2\">
<div class=\"row\">
<div class=\"col-md-5 col-lg-4 mb-4 mb-md-0\">
<!-- Sticky Block -->
<div id=\"stickyBlockStartPoint\">
<div class=\"js-sticky-block\"
data-hs-sticky-block-options='{
\"parentSelector\": \"#stickyBlockStartPoint\",
\"breakpoint\": \"lg\",
\"startPoint\": \"#stickyBlockStartPoint\",
\"endPoint\": \"#stickyBlockEndPoint\",
\"stickyOffsetTop\": 80,
\"stickyOffsetBottom\": 80
}'>
<!-- Card -->
<div class=\"card\">
<!-- Card Header -->
<div class=\"card-header text-center\">
<div class=\"mb-3\">
<img class=\"\"
src=\"{{ vich_uploader_asset(hearingBrand, 'logoFile') | imagine_filter('brand_logo_large') }}\"
alt=\"Audioprothésiste {{ hearingBrand.name }}\">
</div>
</div>
<!-- End Card Header -->
<!-- Card Body -->
<div class=\"card-body\">
<div class=\"mb-2\">
<h5>Nombre de centre :</h5>
<p>{{ nbOfCenter }}</p>
</div>
{% if hearingBrand.address is not null %}
<div class=\"mb-2\">
<h5>Adresse :</h5>
<p>{{ hearingBrand.address }}</p>
</div>
{% endif %}
{% if hearingBrand.phoneNumber is not null %}
<div class=\"mb-2\">
<h5>Contact :</h5>
<div class=\"d-flex justify-content-center\">
<a href=\"tel:{{ hearingBrand.phoneNumber }}\" class=\"w-100\">
<button type=\"button\"
class=\"btn btn-block btn-soft-success transition-3d-hover w-100\">
<span class=\"bi-phone\"></span> {{ hearingBrand.phoneNumber }}
<small class=\"d-block\">service et appels gratuits</small>
</button>
</a>
</div>
</div>
{% endif %}
{% if hearingBrand.openingHours is not null %}
<div class=\"mb-2\">
<h5>Horaires d'ouverture :</h5>
<p>{{ hearingBrand.openingHours }}</p>
</div>
{% endif %}
<a class=\"btn btn-primary btn-transition w-100\"
href=\"{{ path('index_acquisition_seo_v4') }}\">
<i class=\"bi-headphones me-2\"></i> Demande de bilan
</a>
</div>
<!-- End Card Body -->
</div>
<!-- End Card -->
</div>
</div>
<!-- End Sticky Block -->
</div>
<!-- End Col -->
<div class=\"col-md-7 col-lg-8\">
<div class=\"ps-lg-6\">
<div class=\"mb-3 mb-sm-0 me-2\">
<h2>Découvrez l'audioprothésiste <span
class=\"text-primary text-highlight-warning\">{{ hearingBrand.name }}</span></h2>
</div>
<div class=\"border-bottom pb-5 mb-5 mt-5\">
{{ hearingBrand.wording|raw() }}
</div>
{% include 'front_v4/mca/components/_cross_sell_grid.html.twig' %}
<!-- Sticky Block End Point -->
<div id=\"stickyBlockEndPoint\"></div>
</div>
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
<!-- End Content -->
</main>
<!-- ========== END MAIN CONTENT ========== -->
{% endblock content %}
{% block javascripts %}
{{ encore_entry_script_tags('hearing_maker_single') }}
{% endblock javascripts %}
", "front_v4/mca/hearing_brand/single.html.twig", "/var/www/hearing_store_locator/templates/front_v4/mca/hearing_brand/single.html.twig");
}
}