var/cache/dev/twig/17/175049ec4de8cfc6d006f8f18c154785467a0650bedc3f58d64ac481b3e6c42c.php line 42

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. /* @AqarmapNeighborhood/Default/location_neighborhood_level.html.twig */
  14. class __TwigTemplate_d374854e1ece53108145c40144f64b056acf89fcd7e47eb34ee077817bfe0f85 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_description' => [$this'block_meta_description'],
  25.             'htmlhead' => [$this'block_htmlhead'],
  26.             'body' => [$this'block_body'],
  27.             'footer' => [$this'block_footer'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"));
  42.         // line 2
  43.         $context["canonical_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "get", [=> "_route"], "method"falsefalsefalse2), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "get", [=> "_route_params"], "method"falsefalsefalse2));
  44.         // line 1
  45.         $this->parent $this->loadTemplate("base.html.twig""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 5
  53.     public function block_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         echo " ";
  61.         echo twig_escape_filter($this->envtwig_sprintf("%s.%s.%s"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.prices_guide"), twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'5$this->source); })()), "title", [], "any"falsefalsefalse5)), "html"nulltrue);
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.         
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  66.     }
  67.     // line 7
  68.     public function block_meta_description($context, array $blocks = [])
  69.     {
  70.         $macros $this->macros;
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  75.         // line 8
  76.         echo "    ";
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.prices_description", ["%location%" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'8$this->source); })()), "title", [], "any"falsefalsefalse8)], "messages"), "html"nulltrue);
  78.         echo "
  79. ";
  80.         
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  82.         
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  84.     }
  85.     // line 11
  86.     public function block_htmlhead($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  93.         // line 12
  94.         echo "    <link rel=\"alternate\" hreflang=\"ar\" href=\"";
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "_route"], "method"falsefalsefalse12), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "_route_params"], "method"falsefalsefalse12), ["_locale" => "ar"])), "html"nulltrue);
  96.         echo "\" />
  97.     <link rel=\"alternate\" hreflang=\"en\" href=\"";
  98.         // line 13
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "get", [=> "_route"], "method"falsefalsefalse13), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "get", [=> "_route_params"], "method"falsefalsefalse13), ["_locale" => "en"])), "html"nulltrue);
  100.         echo "\" />
  101.     <link rel=\"alternate\" hreflang=\"x-default\"
  102.         href=\"";
  103.         // line 15
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "get", [=> "_route"], "method"falsefalsefalse15), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "get", [=> "_route_params"], "method"falsefalsefalse15), ["_locale" => "ar"])), "html"nulltrue);
  105.         echo "\"/>
  106.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  107.     <meta name=\"twitter:site\" content=\"";
  108.         // line 17
  109.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  110.         echo "\" />
  111.     <meta name=\"twitter:creator\" content=\"";
  112.         // line 18
  113.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  114.         echo "\" />
  115.     <meta property=\"og:title\" content=\"";
  116.         // line 20
  117.         echo twig_escape_filter($this->envtwig_sprintf("%s.%s.%s"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.prices_guide"), twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'20$this->source); })()), "title", [], "any"falsefalsefalse20)), "html"nulltrue);
  118.         echo "\"/>
  119.     <meta property=\"og:description\" content=\"";
  120.         // line 21
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.sharing.description_location", ["%location%" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'21$this->source); })()), "title", [], "any"falsefalsefalse21)]), "html"nulltrue);
  122.         echo "\" />
  123.     <meta property=\"og:image\" content=\"";
  124.         // line 22
  125.         if (twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'22$this->source); })()), "mainPhoto", [], "any"falsefalsefalse22)) {
  126.             echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\ThumbnailExtension']->getThumbnail($this->extensions['Aqarmap\Bundle\ListingBundle\Twig\ListingShareExtension']->customVichUploaderAsset(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'22$this->source); })()), "mainPhoto", [], "any"falsefalsefalse22), "file", [], "any"falsefalsefalse22), "file"), "large"), "html"nulltrue);
  127.         }
  128.         echo "\" />
  129.     <meta property=\"og:url\" content=\"";
  130.         // line 23
  131.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("neighborhood_main_page", ["location_slug" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'23$this->source); })()), "slug", [], "any"falsefalsefalse23)]), "html"nulltrue);
  132.         echo "\" />
  133.     <meta property=\"og:site_name\" content=\"";
  134.         // line 24
  135.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html"nulltrue);
  136.         echo "\" />
  137.     <meta property=\"fb:app_id\" content=\"";
  138.         // line 25
  139.         echo twig_escape_filter($this->env, (isset($context["facebook_app_id"]) || array_key_exists("facebook_app_id"$context) ? $context["facebook_app_id"] : (function () { throw new RuntimeError('Variable "facebook_app_id" does not exist.'25$this->source); })()), "html"nulltrue);
  140.         echo "\"/>
  141.     <link rel=\"canonical\" href=\"";
  142.         // line 26
  143.         echo twig_escape_filter($this->env, (isset($context["canonical_url"]) || array_key_exists("canonical_url"$context) ? $context["canonical_url"] : (function () { throw new RuntimeError('Variable "canonical_url" does not exist.'26$this->source); })()), "html"nulltrue);
  144.         echo "\"/>
  145. ";
  146.         
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  148.         
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  150.     }
  151.     // line 29
  152.     public function block_body($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  159.         // line 30
  160.         echo "    <section id=\"";
  161.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'30$this->source); })()), "request", [], "any"falsefalsefalse30), "get", [=> "_route"], "method"falsefalsefalse30), "html"nulltrue);
  162.         echo "\">
  163.         <div class=\"container\">
  164.             <div class=\"row\">
  165.                 <div class=\"col-md-12\">
  166.                     <div id=\"neighborhood-cover\"";
  167.         // line 34
  168.         if (twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'34$this->source); })()), "mainPhoto", [], "any"falsefalsefalse34)) {
  169.             echo " style=\"background-image: url(";
  170.             echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\ThumbnailExtension']->getThumbnail($this->extensions['Aqarmap\Bundle\ListingBundle\Twig\ListingShareExtension']->customVichUploaderAsset(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'34$this->source); })()), "mainPhoto", [], "any"falsefalsefalse34), "file", [], "any"falsefalsefalse34), "file"), "large"), "html"nulltrue);
  171.             echo ");\"";
  172.         }
  173.         echo ">
  174.                         <h1 class=\"text-center\">";
  175.         // line 35
  176.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.neighporhood.home", ["%location%" => twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'35$this->source); })()), "title", [], "any"falsefalsefalse35)], "messages"), "html"nulltrue);
  177.         echo "</h1>
  178.                     </div>
  179.                 </div>
  180.             </div>
  181.         </div><!-- end of .container (cover & breadcrumb) -->
  182.         <div class=\"container\">
  183.         <div class=\"row\">
  184.             <div class=\"col-md-12 hidden-xs\">
  185.                 ";
  186.         // line 45
  187.         if (twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'45$this->source); })()), "compoundFilter", [], "any"falsefalsefalse45)) {
  188.             // line 46
  189.             echo "                    ";
  190.             $context["compound"] = 1;
  191.             // line 47
  192.             echo "                ";
  193.         } else {
  194.             // line 48
  195.             echo "                    ";
  196.             $context["compound"] = null;
  197.             // line 49
  198.             echo "                ";
  199.         }
  200.         // line 50
  201.         echo "                ";
  202.         $context["neighborhood_breadcrumb"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("aqarmap.neighborhood.breadcrumb", [], ["location" => (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'50$this->source); })()), "compound" => (isset($context["compound"]) || array_key_exists("compound"$context) ? $context["compound"] : (function () { throw new RuntimeError('Variable "compound" does not exist.'50$this->source); })())]);
  203.         // line 51
  204.         echo "                ";
  205.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render((isset($context["neighborhood_breadcrumb"]) || array_key_exists("neighborhood_breadcrumb"$context) ? $context["neighborhood_breadcrumb"] : (function () { throw new RuntimeError('Variable "neighborhood_breadcrumb" does not exist.'51$this->source); })()), ["allow_safe_labels" => true"template" => "knp_menu_ordered.html.twig""currentClass" => "active"]);
  206.         // line 55
  207.         echo "
  208.             </div>
  209.             ";
  210.         // line 57
  211.         $context['_parent'] = $context;
  212.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'57$this->source); })()), "getChildrenSortedById", [=> ["neighborhoodFilter" => true]], "method"falsefalsefalse57));
  213.         $context['loop'] = [
  214.           'parent' => $context['_parent'],
  215.           'index0' => 0,
  216.           'index'  => 1,
  217.           'first'  => true,
  218.         ];
  219.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  220.             $length count($context['_seq']);
  221.             $context['loop']['revindex0'] = $length 1;
  222.             $context['loop']['revindex'] = $length;
  223.             $context['loop']['length'] = $length;
  224.             $context['loop']['last'] = === $length;
  225.         }
  226.         foreach ($context['_seq'] as $context["_key"] => $context["neighborhood"]) {
  227.             // line 58
  228.             echo "                <div class=\"col-md-4 col-sm-6\">
  229.                     ";
  230.             // line 59
  231.             $this->loadTemplate("@AqarmapNeighborhoodBundle/card.html.twig""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"59)->display(twig_array_merge($context, ["neighborhood" => $context["neighborhood"]]));
  232.             // line 60
  233.             echo "                </div>
  234.             ";
  235.             ++$context['loop']['index0'];
  236.             ++$context['loop']['index'];
  237.             $context['loop']['first'] = false;
  238.             if (isset($context['loop']['length'])) {
  239.                 --$context['loop']['revindex0'];
  240.                 --$context['loop']['revindex'];
  241.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  242.             }
  243.         }
  244.         $_parent $context['_parent'];
  245.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['neighborhood'], $context['_parent'], $context['loop']);
  246.         $context array_intersect_key($context$_parent) + $_parent;
  247.         // line 62
  248.         echo "    </div>
  249.             <div class=\"discussions col-md-12\">
  250.                 <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  251.                     ";
  252.         // line 65
  253.         $this->loadTemplate("@AqarmapMainBundle/Default/locationsSubLinks.html.twig""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"65)->display($context);
  254.         // line 66
  255.         echo "                </div>
  256.             </div>
  257.     </div>
  258. </section>
  259. ";
  260.         
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  262.         
  263.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  264.     }
  265.     // line 75
  266.     public function block_footer($context, array $blocks = [])
  267.     {
  268.         $macros $this->macros;
  269.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  271.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  273.         // line 76
  274.         echo "    ";
  275.         $this->loadTemplate("footer.v2.html.twig""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig"76)->display($context);
  276.         
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  278.         
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  280.     }
  281.     public function getTemplateName()
  282.     {
  283.         return "@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig";
  284.     }
  285.     public function isTraitable()
  286.     {
  287.         return false;
  288.     }
  289.     public function getDebugInfo()
  290.     {
  291.         return array (  314 => 76,  304 => 75,  287 => 66,  285 => 65,  280 => 62,  265 => 60,  263 => 59,  260 => 58,  243 => 57,  239 => 55,  236 => 51,  233 => 50,  230 => 49,  227 => 48,  224 => 47,  221 => 46,  219 => 45,  206 => 35,  198 => 34,  190 => 30,  180 => 29,  168 => 26,  164 => 25,  160 => 24,  156 => 23,  150 => 22,  146 => 21,  142 => 20,  137 => 18,  133 => 17,  128 => 15,  123 => 13,  118 => 12,  108 => 11,  95 => 8,  85 => 7,  65 => 5,  54 => 1,  52 => 2,  39 => 1,);
  292.     }
  293.     public function getSourceContext()
  294.     {
  295.         return new Source("{% extends \"base.html.twig\" %}
  296. {% set canonical_url = url(app.request.get('_route'), app.request.get('_route_params')) %}
  297. {# Page title #}
  298. {% block title %} {{ \"%s.%s.%s\"|format('layout.app_name'|trans, 'neighborhoods.prices_guide'|trans, location.title) }}{% endblock %}
  299. {% block meta_description %}
  300.     {{ 'neighborhoods.prices_description'|trans({'%location%': location.title}, 'messages') }}
  301. {% endblock %}
  302. {% block htmlhead %}
  303.     <link rel=\"alternate\" hreflang=\"ar\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\" />
  304.     <link rel=\"alternate\" hreflang=\"en\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}\" />
  305.     <link rel=\"alternate\" hreflang=\"x-default\"
  306.         href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\"/>
  307.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  308.     <meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  309.     <meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  310.     <meta property=\"og:title\" content=\"{{ \"%s.%s.%s\"|format('layout.app_name'|trans, 'neighborhoods.prices_guide'|trans, location.title) }}\"/>
  311.     <meta property=\"og:description\" content=\"{{ 'neighborhoods.sharing.description_location'|trans({'%location%': location.title}) }}\" />
  312.     <meta property=\"og:image\" content=\"{% if location.mainPhoto %}{{ custom_vich_uploader_asset(location.mainPhoto.file, 'file') | thumbnail('large')}}{% endif %}\" />
  313.     <meta property=\"og:url\" content=\"{{ url('neighborhood_main_page', {'location_slug': location.slug}) }}\" />
  314.     <meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
  315.     <meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
  316.     <link rel=\"canonical\" href=\"{{ canonical_url }}\"/>
  317. {% endblock %}
  318. {% block body %}
  319.     <section id=\"{{ app.request.get('_route') }}\">
  320.         <div class=\"container\">
  321.             <div class=\"row\">
  322.                 <div class=\"col-md-12\">
  323.                     <div id=\"neighborhood-cover\"{% if location.mainPhoto %} style=\"background-image: url({{ custom_vich_uploader_asset(location.mainPhoto.file, 'file') | thumbnail('large') }});\"{% endif %}>
  324.                         <h1 class=\"text-center\">{{ 'layout.neighporhood.home'|trans({'%location%': location.title}, 'messages') }}</h1>
  325.                     </div>
  326.                 </div>
  327.             </div>
  328.         </div><!-- end of .container (cover & breadcrumb) -->
  329.         <div class=\"container\">
  330.         <div class=\"row\">
  331.             <div class=\"col-md-12 hidden-xs\">
  332.                 {% if location.compoundFilter %}
  333.                     {% set compound = 1  %}
  334.                 {% else %}
  335.                     {% set compound = null  %}
  336.                 {% endif %}
  337.                 {% set neighborhood_breadcrumb = knp_menu_get( 'aqarmap.neighborhood.breadcrumb' , [], {\"location\": location , \"compound\": compound}) %}
  338.                 {{ knp_menu_render(neighborhood_breadcrumb , {
  339.                 'allow_safe_labels': true,
  340.                 'template': 'knp_menu_ordered.html.twig',
  341.                 'currentClass': 'active'
  342.                 }) }}
  343.             </div>
  344.             {% for neighborhood in location.getChildrenSortedById({'neighborhoodFilter': true}) %}
  345.                 <div class=\"col-md-4 col-sm-6\">
  346.                     {% include '@AqarmapNeighborhoodBundle/card.html.twig' with {'neighborhood': neighborhood} %}
  347.                 </div>
  348.             {% endfor %}
  349.     </div>
  350.             <div class=\"discussions col-md-12\">
  351.                 <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  352.                     {% include \"@AqarmapMainBundle/Default/locationsSubLinks.html.twig\" %}
  353.                 </div>
  354.             </div>
  355.     </div>
  356. </section>
  357. {% endblock %}
  358. {% block footer %}
  359.     {% include \"footer.v2.html.twig\" %}
  360. {% endblock %}
  361. ""@AqarmapNeighborhood/Default/location_neighborhood_level.html.twig""/srv/moonshot/src/Aqarmap/Bundle/NeighborhoodBundle/Resources/views/Default/location_neighborhood_level.html.twig");
  362.     }
  363. }