var/cache/dev/twig/16/16568a0514b223d08a16f7f363242094896476c8137eae1fed3a13655c41bf20.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig */
  14. class __TwigTemplate_3ac1b7e5c2a6a6ba236a5eca145a701837fce843b1089b7e610a88f06cd17d03 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig"));
  34.         // line 1
  35.         $this->displayBlock('content'$context$blocks);
  36.         
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  38.         
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  40.     }
  41.     public function block_content($context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  48.         // line 2
  49.         echo "    ";
  50.         if (((isset($context["published"]) || array_key_exists("published"$context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.'2$this->source); })()) == true)) {
  51.             // line 3
  52.             echo "
  53.         ";
  54.             // line 4
  55.             $this->loadTemplate("common/_breadcrumb.html.twig""bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig"4)->display($context);
  56.             // line 5
  57.             echo "
  58.         <div class=\"contact\">
  59.             <div class=\"contact__intro\">";
  60.             // line 7
  61.             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.'7$this->source); })()), "content", [], "any"falsefalsefalse7);
  62.             echo "</div>
  63.             <div class=\"contact__columns\">
  64.                 <div class=\"contact__form\">
  65.                     ";
  66.             // line 10
  67.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\ContactController::requestAction"));
  68.             echo "
  69.                 </div>
  70.                 <div class=\"contact__infos\">
  71.                     <div class=\"contact__logo\">
  72.                         <img src=\"";
  73.             // line 14
  74.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/img/logo-mons-fromages.svg"), "html"nulltrue);
  75.             echo "\" alt=\"Mons Fromages logo\" />
  76.                     </div>
  77.                     <div class=\"contact__content\">
  78.                         <strong>
  79.                             <i class=\"fas fa-map-marker-alt\"></i>91, allée de l'Auvergnat<br/>
  80.                             <i class=\"fas\"></i>Les Caves du Pré Normand<br/>
  81.                             <i class=\"fas\"></i>42370 St Haon le Châtel
  82.                         </strong>
  83.                         <br>
  84.                         <br>
  85.                         <strong>
  86.                             <i class=\"fas fa-phone\"></i>Tél. +33 (0)4 77 64 40 79<br/>
  87.                             <i class=\"fas fa-fax\"></i>Fax. +33 (0)4 77 66 46 79<br/>
  88.                             <i class=\"fas fa-envelope\"></i><a href=\"mailto:mons@mons-fromagerie.fr\">mons@mons-fromagerie.fr</a><br/>
  89.                         </strong>
  90.                     </div>
  91.                     <div class=\"contact__map\">
  92.                         <div id='map'></div>
  93.                     </div>
  94.                 </div>
  95.             </div>
  96.         </div>
  97.         <div class=\"citation\" data-aos=\"fade-up\">
  98.             <div class=\"container\">
  99.                 <p>";
  100.             // line 38
  101.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.contact.follow_us");
  102.             echo "</p>
  103.                 <div class=\"social\">
  104.                     <a target=\"_blank\" href=\"https://www.facebook.com/fromagermons42\" title=\"";
  105.             // line 40
  106.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.facebook_page"), "html"nulltrue);
  107.             echo "\"><i class=\"fab fa-facebook-f\"></i></a>
  108.                     <a target=\"_blank\" href=\"https://www.instagram.com/mons_fromager_affineur/\" title=\"";
  109.             // line 41
  110.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.instagram_page"), "html"nulltrue);
  111.             echo "\"><i class=\"fab fa-instagram\"></i></a>
  112.                 </div>
  113.             </div>
  114.         </div>
  115.     ";
  116.         } else {
  117.             // line 47
  118.             echo "        ";
  119.             $this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig""bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig"47)->display(twig_array_merge($context, ["publishAt" => 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); })()), "publishAt", [], "any"falsefalsefalse47)]));
  120.             // line 48
  121.             echo "    ";
  122.         }
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     public function getTemplateName()
  129.     {
  130.         return "bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig";
  131.     }
  132.     public function getDebugInfo()
  133.     {
  134.         return array (  136 => 48,  133 => 47,  124 => 41,  120 => 40,  115 => 38,  88 => 14,  81 => 10,  75 => 7,  71 => 5,  69 => 4,  66 => 3,  63 => 2,  44 => 1,);
  135.     }
  136.     public function getSourceContext()
  137.     {
  138.         return new Source("{% block content %}
  139.     {% if published == true %}
  140.         {% include 'common/_breadcrumb.html.twig' %}
  141.         <div class=\"contact\">
  142.             <div class=\"contact__intro\">{{ page.content|raw }}</div>
  143.             <div class=\"contact__columns\">
  144.                 <div class=\"contact__form\">
  145.                     {{ render(controller('App\\\\Controller\\\\Shop\\\\ContactController::requestAction')) }}
  146.                 </div>
  147.                 <div class=\"contact__infos\">
  148.                     <div class=\"contact__logo\">
  149.                         <img src=\"{{ asset('assets/shop/img/logo-mons-fromages.svg') }}\" alt=\"Mons Fromages logo\" />
  150.                     </div>
  151.                     <div class=\"contact__content\">
  152.                         <strong>
  153.                             <i class=\"fas fa-map-marker-alt\"></i>91, allée de l'Auvergnat<br/>
  154.                             <i class=\"fas\"></i>Les Caves du Pré Normand<br/>
  155.                             <i class=\"fas\"></i>42370 St Haon le Châtel
  156.                         </strong>
  157.                         <br>
  158.                         <br>
  159.                         <strong>
  160.                             <i class=\"fas fa-phone\"></i>Tél. +33 (0)4 77 64 40 79<br/>
  161.                             <i class=\"fas fa-fax\"></i>Fax. +33 (0)4 77 66 46 79<br/>
  162.                             <i class=\"fas fa-envelope\"></i><a href=\"mailto:mons@mons-fromagerie.fr\">mons@mons-fromagerie.fr</a><br/>
  163.                         </strong>
  164.                     </div>
  165.                     <div class=\"contact__map\">
  166.                         <div id='map'></div>
  167.                     </div>
  168.                 </div>
  169.             </div>
  170.         </div>
  171.         <div class=\"citation\" data-aos=\"fade-up\">
  172.             <div class=\"container\">
  173.                 <p>{{ 'sylius.contact.follow_us'|trans|raw }}</p>
  174.                 <div class=\"social\">
  175.                     <a target=\"_blank\" href=\"https://www.facebook.com/fromagermons42\" title=\"{{ 'app.footer.facebook_page'|trans }}\"><i class=\"fab fa-facebook-f\"></i></a>
  176.                     <a target=\"_blank\" href=\"https://www.instagram.com/mons_fromager_affineur/\" title=\"{{ 'app.footer.instagram_page'|trans }}\"><i class=\"fab fa-instagram\"></i></a>
  177.                 </div>
  178.             </div>
  179.         </div>
  180.     {% else %}
  181.         {% include '@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig' with {'publishAt': page.publishAt} %}
  182.     {% endif %}
  183. {% endblock %}
  184. ""bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig""/home/mons/site/www/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig");
  185.     }
  186. }