<?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;
/* bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig */
class __TwigTemplate_0b3c6bdbb6c0217973ea8eee942ab9ce13d597b74385a93a867cbaaa83ea08b3 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig"));
// line 1
echo "<div class=\"structure-details\">
<div class=\"container\">
";
// line 3
$this->loadTemplate("common/_breadcrumb-structure.html.twig", "bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig", 3)->display($context);
// line 4
echo "
";
// line 5
if (twig_in_filter("Côte Roannaise", twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "name", [], "any", false, false, false, 5))) {
// line 6
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/structures/logo-laiterie-de-la-cote-roanaise.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 6, $this->source); })()), "name", [], "any", false, false, false, 6), "html", null, true);
echo "\" class=\"structure-details__logo\" />
";
}
// line 8
echo "
";
// line 9
if (twig_in_filter("Sauvain", twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 9, $this->source); })()), "name", [], "any", false, false, false, 9))) {
// line 10
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/structures/logo-fromagerie-de-sauvain.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 10, $this->source); })()), "name", [], "any", false, false, false, 10), "html", null, true);
echo "\" class=\"structure-details__logo\" />
";
}
// line 12
echo "
";
// line 13
if (twig_in_filter("Arvernes", twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 13, $this->source); })()), "name", [], "any", false, false, false, 13))) {
// line 14
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/structures/logo-cie-arvernes.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 14, $this->source); })()), "name", [], "any", false, false, false, 14), "html", null, true);
echo "\" class=\"structure-details__logo\" />
";
}
// line 16
echo "
";
// line 17
if (twig_in_filter("Collonge", twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17))) {
// line 18
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/structures/logo-tunnel-de-la-collonge.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 18, $this->source); })()), "name", [], "any", false, false, false, 18), "html", null, true);
echo "\" class=\"structure-details__logo\" />
";
}
// line 20
echo "
<h1 class=\"page__title\">
<span class=\"page__tagline\">";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()), "structureLocalization", [], "any", false, false, false, 22), "html", null, true);
echo "</span>
";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()), "name", [], "any", false, false, false, 23), "html", null, true);
echo "
</h1>
";
// line 26
if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "image", [], "any", true, true, false, 26) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 26, $this->source); })()), "image", [], "any", false, false, false, 26)))) {
// line 27
echo " <img class=\"structure-details__image\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 27, $this->source); })()), "image", [], "any", false, false, false, 27), "path", [], "any", false, false, false, 27), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 27, $this->source); })()), "nameWhenLinked", [], "any", false, false, false, 27), "html_attr");
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 27, $this->source); })()), "nameWhenLinked", [], "any", false, false, false, 27), "html_attr");
echo "\" />
";
}
// line 29
echo " <div class=\"structure-details__intro\">
";
// line 30
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "structureIntroExcerpt", [], "any", false, false, false, 30);
echo "
</div>
<div class=\"structure-details__description\">
";
// line 33
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "structureIntroText", [], "any", false, false, false, 33);
echo "
</div>
</div>
<div class=\"bg-dark\">
<div class=\"container\">
<div class=\"structure-details__infos\">
<div class=\"structure-details__infos-left\">
<h3 class=\"c-red h4 structure-details__infos-title\"></h3>
<div class=\"structure-details__infos-section\">
";
// line 42
if (((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 42, $this->source); })()), "structureAddress", [], "any", false, false, false, 42) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 42, $this->source); })()), "structureAddress", [], "any", false, false, false, 42)))) {
// line 43
echo " <div class=\"structure-details__icon-block\">
<i class=\"fas fa-map-marker-alt\"></i>
<div>
";
// line 46
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 46, $this->source); })()), "structureAddress", [], "any", false, false, false, 46), "html", null, true);
echo "<br>
<a href=\"https://www.google.com/maps/place/";
// line 47
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->formatForGmaps(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 47, $this->source); })()), "structureAddress", [], "any", false, false, false, 47)), "html", null, true);
echo "/@";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 47, $this->source); })()), "structureGpsLat", [], "any", false, false, false, 47), "html", null, true);
echo ",";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 47, $this->source); })()), "structureGpsLng", [], "any", false, false, false, 47), "html", null, true);
echo ",17z\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.link.see_on_gmaps"), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.access_map"), "html", null, true);
echo "</a>
</div>
</div>
";
}
// line 51
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 51, $this->source); })()), "structureEmail", [], "any", false, false, false, 51) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 51, $this->source); })()), "structureEmail", [], "any", false, false, false, 51)))) {
// line 52
echo " <div class=\"structure-details__icon-block\">
<i class=\"fas fa-envelope\"></i>
<div><a href=\"mailto:";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 54, $this->source); })()), "structureEmail", [], "any", false, false, false, 54), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.link.write_to_us"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 54, $this->source); })()), "structureEmail", [], "any", false, false, false, 54), "html", null, true);
echo "</a></div>
</div>
";
}
// line 57
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "structurePhone", [], "any", false, false, false, 57) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "structurePhone", [], "any", false, false, false, 57)))) {
// line 58
echo " <div class=\"structure-details__icon-block\">
<i class=\"fas fa-phone\"></i>
<div>Tél. ";
// line 60
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 60, $this->source); })()), "structurePhone", [], "any", false, false, false, 60), "html", null, true);
echo "</div>
</div>
";
}
// line 64
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 64, $this->source); })()), "structureFax", [], "any", false, false, false, 64) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 64, $this->source); })()), "structureFax", [], "any", false, false, false, 64)))) {
// line 65
echo " <div class=\"structure-details__icon-block\">
<i class=\"fas fa-fax\"></i>
<div>Fax. ";
// line 67
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 67, $this->source); })()), "structureFax", [], "any", false, false, false, 67), "html", null, true);
echo "</div>
</div>
";
}
// line 70
echo "
</div>
";
// line 72
if (((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 72, $this->source); })()), "structureOpeningTimes", [], "any", false, false, false, 72) != "") && !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 72, $this->source); })()), "structureOpeningTimes", [], "any", false, false, false, 72)))) {
// line 73
echo " <div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-clock\"></i>
<div>
<strong>";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.opening_times"), "html", null, true);
echo "</strong>
<br>
";
// line 79
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 79, $this->source); })()), "structureOpeningTimes", [], "any", false, false, false, 79);
echo "
</div>
</div>
</div>
";
}
// line 84
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "structureEquipments", [], "any", false, false, false, 84)) > 0)) {
// line 85
echo " <div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-list\"></i>
<div>
<strong>";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.equipements"), "html", null, true);
echo "</strong><br>
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 90, $this->source); })()), "structureEquipments", [], "any", false, false, false, 90), ","));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["equipment"]) {
// line 91
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 91) > 0)) {
// line 92
echo " |
";
}
// line 94
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("sylius.admin.page." . $context["equipment"])), "html", null, true);
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['equipment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
echo " </div>
</div>
</div>
";
}
// line 100
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "structureServices", [], "any", false, false, false, 100)) > 0)) {
// line 101
echo " <div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-list\"></i>
<div>
<strong>";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.services"), "html", null, true);
echo "</strong><br>
";
// line 106
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 106, $this->source); })()), "structureServices", [], "any", false, false, false, 106), ","));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 107
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 107) > 0)) {
// line 108
echo " |
";
}
// line 110
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("sylius.admin.page." . $context["service"])), "html", null, true);
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 112
echo " </div>
</div>
</div>
";
}
// line 116
echo " </div>
<div class=\"structure-details__infos-right\">
<div class=\"structure-details__infos-map\">
<div id=\"map\"></div>
</div>
<a href=\"#galerie\" class=\"button button--secondary button--medium\">";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.see_image_gallery"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
<div class=\"galerie-images\" id=\"galerie\">
<div class=\"container\">
<div class=\"galerie-images__title h4 bold\">";
// line 128
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 128, $this->source); })()), "name", [], "any", false, false, false, 128), "html", null, true);
echo " <span class=\"c-red\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.in_images"), "html", null, true);
echo "</span></div>
<div class=\"structure-details__galerie-images galerie-images__images\">
";
// line 130
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_index_by_section_code", ["sectionCode" => ("nos-structures-" . twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 130, $this->source); })()), "code", [], "any", false, false, false, 130)), "template" => "@BitBagSyliusCmsPlugin/Shop/Page/blocks/_structure-image.html.twig"]));
echo "
</div>
</div>
</div>
<div class=\"structure-details__back\">
<a href=\"";
// line 135
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("nos-structures"), "html", null, true);
echo "\" class=\"button button--outline-red button--medium\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.structures.title.back_to_structures_list"), "html", null, true);
echo "</a>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 395 => 135, 387 => 130, 380 => 128, 370 => 121, 363 => 116, 357 => 112, 340 => 110, 336 => 108, 333 => 107, 316 => 106, 312 => 105, 306 => 101, 303 => 100, 297 => 96, 280 => 94, 276 => 92, 273 => 91, 256 => 90, 252 => 89, 246 => 85, 243 => 84, 235 => 79, 230 => 77, 224 => 73, 222 => 72, 218 => 70, 212 => 67, 208 => 65, 205 => 64, 198 => 60, 194 => 58, 191 => 57, 181 => 54, 177 => 52, 174 => 51, 159 => 47, 155 => 46, 150 => 43, 148 => 42, 136 => 33, 130 => 30, 127 => 29, 117 => 27, 115 => 26, 109 => 23, 105 => 22, 101 => 20, 93 => 18, 91 => 17, 88 => 16, 80 => 14, 78 => 13, 75 => 12, 67 => 10, 65 => 9, 62 => 8, 54 => 6, 52 => 5, 49 => 4, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"structure-details\">
<div class=\"container\">
{% include 'common/_breadcrumb-structure.html.twig' %}
{% if 'Côte Roannaise' in page.name %}
<img src=\"{{ asset('assets/shop/images/structures/logo-laiterie-de-la-cote-roanaise.svg') }}\" alt=\"{{ page.name }}\" class=\"structure-details__logo\" />
{% endif %}
{% if 'Sauvain' in page.name %}
<img src=\"{{ asset('assets/shop/images/structures/logo-fromagerie-de-sauvain.svg') }}\" alt=\"{{ page.name }}\" class=\"structure-details__logo\" />
{% endif %}
{% if 'Arvernes' in page.name %}
<img src=\"{{ asset('assets/shop/images/structures/logo-cie-arvernes.svg') }}\" alt=\"{{ page.name }}\" class=\"structure-details__logo\" />
{% endif %}
{% if 'Collonge' in page.name %}
<img src=\"{{ asset('assets/shop/images/structures/logo-tunnel-de-la-collonge.svg') }}\" alt=\"{{ page.name }}\" class=\"structure-details__logo\" />
{% endif %}
<h1 class=\"page__title\">
<span class=\"page__tagline\">{{ page.structureLocalization }}</span>
{{ page.name }}
</h1>
{% if page.image is defined and page.image is not null %}
<img class=\"structure-details__image\" src=\"{{ page.image.path }}\" alt=\"{{ page.nameWhenLinked|e('html_attr') }}\" title=\"{{ page.nameWhenLinked|e('html_attr') }}\" />
{% endif %}
<div class=\"structure-details__intro\">
{{ page.structureIntroExcerpt|raw }}
</div>
<div class=\"structure-details__description\">
{{ page.structureIntroText|raw }}
</div>
</div>
<div class=\"bg-dark\">
<div class=\"container\">
<div class=\"structure-details__infos\">
<div class=\"structure-details__infos-left\">
<h3 class=\"c-red h4 structure-details__infos-title\"></h3>
<div class=\"structure-details__infos-section\">
{% if page.structureAddress != \"\" and page.structureAddress is not null %}
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-map-marker-alt\"></i>
<div>
{{ page.structureAddress }}<br>
<a href=\"https://www.google.com/maps/place/{{ page.structureAddress|format_for_gmaps }}/@{{ page.structureGpsLat }},{{ page.structureGpsLng }},17z\" title=\"{{ 'sylius.structures.link.see_on_gmaps'|trans }}\" target=\"_blank\">{{ 'sylius.structures.title.access_map'|trans }}</a>
</div>
</div>
{% endif %}
{% if page.structureEmail != \"\" and page.structureEmail is not null %}
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-envelope\"></i>
<div><a href=\"mailto:{{ page.structureEmail }}\" title=\"{{ 'sylius.structures.link.write_to_us'|trans|e('html_attr') }}\">{{ page.structureEmail }}</a></div>
</div>
{% endif %}
{% if page.structurePhone != \"\" and page.structurePhone is not null %}
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-phone\"></i>
<div>Tél. {{ page.structurePhone }}</div>
</div>
{% endif %}
{% if page.structureFax != \"\" and page.structureFax is not null %}
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-fax\"></i>
<div>Fax. {{ page.structureFax }}</div>
</div>
{% endif %}
</div>
{% if page.structureOpeningTimes != \"\" and page.structureOpeningTimes is not null %}
<div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-clock\"></i>
<div>
<strong>{{ 'sylius.structures.title.opening_times'|trans }}</strong>
<br>
{{ page.structureOpeningTimes|raw }}
</div>
</div>
</div>
{% endif %}
{% if page.structureEquipments|length > 0 %}
<div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-list\"></i>
<div>
<strong>{{ 'sylius.structures.title.equipements'|trans }}</strong><br>
{% for equipment in page.structureEquipments|split(',') %}
{% if loop.index0 > 0 %}
|
{% endif %}
{{ ('sylius.admin.page.' ~ equipment)|trans }}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if page.structureServices|length > 0 %}
<div class=\"structure-details__infos-section\">
<div class=\"structure-details__icon-block\">
<i class=\"fas fa-list\"></i>
<div>
<strong>{{ 'sylius.structures.title.services'|trans }}</strong><br>
{% for service in page.structureServices|split(',') %}
{% if loop.index0 > 0 %}
|
{% endif %}
{{ ('sylius.admin.page.' ~ service)|trans }}
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
<div class=\"structure-details__infos-right\">
<div class=\"structure-details__infos-map\">
<div id=\"map\"></div>
</div>
<a href=\"#galerie\" class=\"button button--secondary button--medium\">{{ 'sylius.structures.title.see_image_gallery'|trans }}</a>
</div>
</div>
</div>
</div>
<div class=\"galerie-images\" id=\"galerie\">
<div class=\"container\">
<div class=\"galerie-images__title h4 bold\">{{ page.name }} <span class=\"c-red\">{{ 'sylius.structures.title.in_images'|trans }}</span></div>
<div class=\"structure-details__galerie-images galerie-images__images\">
{{ render(path('bitbag_sylius_cms_plugin_shop_media_index_by_section_code', {'sectionCode' : 'nos-structures-' ~ page.code, 'template' : '@BitBagSyliusCmsPlugin/Shop/Page/blocks/_structure-image.html.twig'})) }}
</div>
</div>
</div>
<div class=\"structure-details__back\">
<a href=\"{{ bitbag_cms_get_link_for_code('nos-structures') }}\" class=\"button button--outline-red button--medium\">{{ 'sylius.structures.title.back_to_structures_list'|trans }}</a>
</div>
</div>
", "bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig", "/home/mons/site/www/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/templates/_structure.html.twig");
}
}