var/cache/dev/twig/e6/e6cb7d3c3d11dbd74163a9de760b3ed6.php line 33

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. /* front/accommodation/blocks/infos-1.html.twig */
  14. class __TwigTemplate_8d4348720bf463550e347d82f4ac2314 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/accommodation/blocks/infos-1.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/accommodation/blocks/infos-1.html.twig"));
  33.         // line 2
  34.         $macros["macro"] = $this->macros["macro"] = $this->loadTemplate("front/_shared/macros.html.twig""front/accommodation/blocks/infos-1.html.twig"2)->unwrap();
  35.         // line 3
  36.         $context["isMobile"] = $this->env->getRuntime('App\Twig\FrontRuntime')->isMobile();
  37.         // line 4
  38.         echo "
  39. <section class=\"container info\">
  40.     <div class=\"row\">
  41.         <div class=\"col-12 col-lg-7 content\" id=\"description\">
  42.             ";
  43.         // line 8
  44.         $this->loadTemplate("front/accommodation/blocks/description-1.html.twig""front/accommodation/blocks/infos-1.html.twig"8)->display($context);
  45.         // line 9
  46.         echo "        </div> <!-- content -->
  47.         ";
  48.         // line 11
  49.         if ( !(isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'11$this->source); })())) {
  50.             // line 12
  51.             echo "            <div class=\"col-12 col-lg-5 d-none d-lg-block details-sidebar\">
  52.                 ";
  53.             // line 13
  54.             $this->loadTemplate("front/accommodation/blocks/sidebar-1.html.twig""front/accommodation/blocks/infos-1.html.twig"13)->display($context);
  55.             // line 14
  56.             echo "            </div>
  57.         ";
  58.         }
  59.         // line 16
  60.         echo "    </div> <!-- row -->
  61. </section> <!-- info -->";
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.     }
  67.     public function getTemplateName()
  68.     {
  69.         return "front/accommodation/blocks/infos-1.html.twig";
  70.     }
  71.     public function isTraitable()
  72.     {
  73.         return false;
  74.     }
  75.     public function getDebugInfo()
  76.     {
  77.         return array (  70 => 16,  66 => 14,  64 => 13,  61 => 12,  59 => 11,  55 => 9,  53 => 8,  47 => 4,  45 => 3,  43 => 2,);
  78.     }
  79.     public function getSourceContext()
  80.     {
  81.         return new Source("{% trans_default_domain 'front' %}
  82. {% import \"front/_shared/macros.html.twig\" as macro %}
  83. {% set isMobile = isMobile() %}
  84. <section class=\"container info\">
  85.     <div class=\"row\">
  86.         <div class=\"col-12 col-lg-7 content\" id=\"description\">
  87.             {% include 'front/accommodation/blocks/description-1.html.twig' %}
  88.         </div> <!-- content -->
  89.         {% if not isMobile %}
  90.             <div class=\"col-12 col-lg-5 d-none d-lg-block details-sidebar\">
  91.                 {% include 'front/accommodation/blocks/sidebar-1.html.twig' %}
  92.             </div>
  93.         {% endif %}
  94.     </div> <!-- row -->
  95. </section> <!-- info -->""front/accommodation/blocks/infos-1.html.twig""/var/www/vps.citizens.fr/templates/front/accommodation/blocks/infos-1.html.twig");
  96.     }
  97. }