var/cache/dev/twig/a9/a9312533d4eaf2b354dbcff9d8c9c23be52979ee043e959a56d261cecda5a4fb.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/locations.html.twig */
  14. class __TwigTemplate_175b0bce5743f1d77f7b7bdc4e1188d9416cb17bbc6ea5cdb85738ec4f71fc7f 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.             'htmlhead' => [$this'block_htmlhead'],
  25.             'body' => [$this'block_body'],
  26.             'footer' => [$this'block_footer'],
  27.             'javascripts' => [$this'block_javascripts'],
  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/locations.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/locations.html.twig"));
  42.         // line 2
  43.         $context["SHARING_IMAGE"] = twig_constant("Aqarmap\\Bundle\\NeighborhoodBundle\\Constant\\SharingConstant::IMAGE");
  44.         // line 1
  45.         $this->parent $this->loadTemplate("base.html.twig""@AqarmapNeighborhood/Default/locations.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 4
  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 twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.listing_prices"), "html"nulltrue);
  61.         echo " &bull; ";
  62.         $this->displayParentBlock("title"$context$blocks);
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.     }
  68.     // line 6
  69.     public function block_htmlhead($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  76.         // line 7
  77.         echo "    <link rel=\"alternate\" hreflang=\"ar\" href=\"";
  78.         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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "get", [=> "_route"], "method"falsefalsefalse7), 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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "get", [=> "_route_params"], "method"falsefalsefalse7), ["_locale" => "ar"])), "html"nulltrue);
  79.         echo "\" />
  80.     <link rel=\"alternate\" hreflang=\"en\" href=\"";
  81.         // line 8
  82.         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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "get", [=> "_route"], "method"falsefalsefalse8), 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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "get", [=> "_route_params"], "method"falsefalsefalse8), ["_locale" => "en"])), "html"nulltrue);
  83.         echo "\" />
  84.     <link rel=\"alternate\" hreflang=\"x-default\"
  85.         href=\"";
  86.         // line 10
  87.         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.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "get", [=> "_route"], "method"falsefalsefalse10), 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.'10$this->source); })()), "request", [], "any"falsefalsefalse10), "get", [=> "_route_params"], "method"falsefalsefalse10), ["_locale" => "ar"])), "html"nulltrue);
  88.         echo "\"/>
  89.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  90.     <meta name=\"twitter:site\" content=\"";
  91.         // line 13
  92.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  93.         echo "\" />
  94.     <meta name=\"twitter:creator\" content=\"";
  95.         // line 14
  96.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  97.         echo "\" />
  98.     <meta property=\"og:title\" content=\"";
  99.         // line 16
  100.         echo twig_escape_filter($this->envtwig_sprintf("%s.%s"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.prices_guide")), "html"nulltrue);
  101.         echo "\"/>
  102.     <meta property=\"og:description\" content=\"";
  103.         // line 17
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.sharing.description"), "html"nulltrue);
  105.         echo "\" />
  106.     <meta property=\"og:image\" content=\"";
  107.         // line 18
  108.         echo twig_escape_filter($this->env, (isset($context["SHARING_IMAGE"]) || array_key_exists("SHARING_IMAGE"$context) ? $context["SHARING_IMAGE"] : (function () { throw new RuntimeError('Variable "SHARING_IMAGE" does not exist.'18$this->source); })()), "html"nulltrue);
  109.         echo "\" />
  110.     <meta property=\"og:url\" content=\"";
  111.         // line 19
  112.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("neighborhood_all_locations");
  113.         echo "\" />
  114.     <meta property=\"og:site_name\" content=\"";
  115.         // line 20
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html"nulltrue);
  117.         echo "\" />
  118.     <meta property=\"fb:app_id\" content=\"";
  119.         // line 21
  120.         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.'21$this->source); })()), "html"nulltrue);
  121.         echo "\"/>
  122. ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     // line 25
  129.     public function block_body($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  136.         // line 26
  137.         echo "<section class=\"container  ";
  138.         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.'26$this->source); })()), "request", [], "any"falsefalsefalse26), "get", [=> "_route"], "method"falsefalsefalse26), "html"nulltrue);
  139.         echo "\">
  140.     <div class=\"row\">
  141.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  142.             <div class=\"hidden-sm hidden-xs\">
  143.                 ";
  144.         // line 31
  145.         $context["NEIGHBORHOOD_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("aqarmap.neighborhood.breadcrumb");
  146.         // line 32
  147.         echo "                ";
  148.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render(        // line 33
  149. (isset($context["NEIGHBORHOOD_BREADCRUMB"]) || array_key_exists("NEIGHBORHOOD_BREADCRUMB"$context) ? $context["NEIGHBORHOOD_BREADCRUMB"] : (function () { throw new RuntimeError('Variable "NEIGHBORHOOD_BREADCRUMB" does not exist.'33$this->source); })()), ["allow_safe_labels" => true"template" => "knp_breadcrumbs.html.twig""currentAsLink" => true"currentClass" => "active"]);
  150.         // line 39
  151.         echo "
  152.             </div>
  153.             <div class=\"page-header\">
  154.                 <div class=\"row\">
  155.                     <div class=\"col-sm-6 col-xs-12 my-auto\">
  156.                          <h1>";
  157.         // line 45
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.page_title"), "html"nulltrue);
  159.         echo "</h1>
  160.                     </div>
  161.                     <div class=\"col-sm-6 col-xs-12 my-auto\">
  162.                        <small class=\" flip header-title\">
  163.                              <span class=\"fa fa-star icon\" aria-hidden=\"true\"></span>
  164.                               ";
  165.         // line 50
  166.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.rating.scale"), "html"nulltrue);
  167.         echo "
  168.                         </small>
  169.                     </div>
  170.                 </div>
  171.             </div>
  172.         ";
  173.         // line 56
  174.         $context['_parent'] = $context;
  175.         $context['_seq'] = twig_ensure_traversable((isset($context["locations"]) || array_key_exists("locations"$context) ? $context["locations"] : (function () { throw new RuntimeError('Variable "locations" does not exist.'56$this->source); })()));
  176.         foreach ($context['_seq'] as $context["_key"] => $context["neighborhood"]) {
  177.             // line 57
  178.             echo "            <a href=\"";
  179.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("neighborhood_main_page", ["location_slug" => twig_get_attribute($this->env$this->source$context["neighborhood"], "slug", [], "any"falsefalsefalse57)]), "html"nulltrue);
  180.             echo "\">
  181.                 <div class=\"col-lg-4 col-md-4 col-sm-6 col-xs-12\">
  182.                     <div class=\"neighborhood-card-container\">
  183.                         <div class=\"location-info\">
  184.                             <h6 class=\"location-title\">
  185.                                 ";
  186.             // line 62
  187.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["neighborhood"], "title", [], "any"falsefalsefalse62), "html"nulltrue);
  188.             echo "
  189.                             </h6>
  190.                             ";
  191.             // line 64
  192.             if (twig_get_attribute($this->env$this->source$context["neighborhood"], "rating", [], "any"falsefalsefalse64)) {
  193.                 echo " ";
  194.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["neighborhood"], "rating", [], "any"falsefalsefalse64), "overall", [], "any"falsefalsefalse64)) {
  195.                     // line 65
  196.                     echo "                                <h6 class=\"location-rate\">
  197.                                     <span>";
  198.                     // line 66
  199.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["neighborhood"], "rating", [], "any"falsefalsefalse66), "overall", [], "any"falsefalsefalse66), "html"nulltrue);
  200.                     echo "</span>
  201.                                     <span class=\"far fa-star rate-icon\" aria-hidden=\"true\"></span>
  202.                                 </h6>
  203.                             ";
  204.                 }
  205.             }
  206.             // line 70
  207.             echo "                        </div>
  208.                         <div class=\"n-pic\"";
  209.             // line 71
  210.             if (twig_get_attribute($this->env$this->source$context["neighborhood"], "mainPhoto", [], "any"falsefalsefalse71)) {
  211.                 echo " style=\"background-image: url('";
  212.                 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$context["neighborhood"], "mainPhoto", [], "any"falsefalsefalse71), "file", [], "any"falsefalsefalse71), "file"), "search-thumb"), "html"nulltrue);
  213.                 echo "');\"
  214.                         ";
  215.             } else {
  216.                 // line 72
  217.                 echo " style=\"background-image: url('/images/location_blank.png');\" ";
  218.             }
  219.             echo ">
  220.                         </div>
  221.                     </div>
  222.                 </div>
  223.             </a>
  224.         ";
  225.         }
  226.         $_parent $context['_parent'];
  227.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['neighborhood'], $context['_parent'], $context['loop']);
  228.         $context array_intersect_key($context$_parent) + $_parent;
  229.         // line 78
  230.         echo "        </div>
  231.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
  232.             ";
  233.         // line 80
  234.         $context["NEIGHBORHOOD_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("aqarmap.neighborhood.breadcrumb");
  235.         // line 81
  236.         echo "            ";
  237.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render(        // line 82
  238. (isset($context["NEIGHBORHOOD_BREADCRUMB"]) || array_key_exists("NEIGHBORHOOD_BREADCRUMB"$context) ? $context["NEIGHBORHOOD_BREADCRUMB"] : (function () { throw new RuntimeError('Variable "NEIGHBORHOOD_BREADCRUMB" does not exist.'82$this->source); })()), ["allow_safe_labels" => true"template" => "knp_breadcrumbs.html.twig""currentAsLink" => true"currentClass" => "active"]);
  239.         // line 88
  240.         echo "
  241.         </div>
  242.         <div class=\"discussions col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  243.             <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  244.                 ";
  245.         // line 92
  246.         $this->loadTemplate("@AqarmapMainBundle/Default/locationsSubLinks.html.twig""@AqarmapNeighborhood/Default/locations.html.twig"92)->display($context);
  247.         // line 93
  248.         echo "            </div>
  249.         </div>
  250.     </div>
  251. </section>
  252. ";
  253.         
  254.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  255.         
  256.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  257.     }
  258.     // line 101
  259.     public function block_footer($context, array $blocks = [])
  260.     {
  261.         $macros $this->macros;
  262.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  263.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  264.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  265.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  266.         // line 102
  267.         echo "    ";
  268.         $this->loadTemplate("footer.v2.html.twig""@AqarmapNeighborhood/Default/locations.html.twig"102)->display($context);
  269.         
  270.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  271.         
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  273.     }
  274.     // line 105
  275.     public function block_javascripts($context, array $blocks = [])
  276.     {
  277.         $macros $this->macros;
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  280.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  281.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  282.         // line 106
  283.         echo "    ";
  284.         $this->displayParentBlock("javascripts"$context$blocks);
  285.         echo "
  286.     <script>
  287.         jQuery(document).ready(function (\$) {
  288.             loadMoreInit('.sectionLoadMore');
  289.         });
  290.     </script>
  291. ";
  292.         
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  294.         
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  296.     }
  297.     public function getTemplateName()
  298.     {
  299.         return "@AqarmapNeighborhood/Default/locations.html.twig";
  300.     }
  301.     public function isTraitable()
  302.     {
  303.         return false;
  304.     }
  305.     public function getDebugInfo()
  306.     {
  307.         return array (  325 => 106,  315 => 105,  304 => 102,  294 => 101,  278 => 93,  276 => 92,  270 => 88,  268 => 82,  266 => 81,  264 => 80,  260 => 78,  247 => 72,  240 => 71,  237 => 70,  229 => 66,  226 => 65,  222 => 64,  217 => 62,  208 => 57,  204 => 56,  195 => 50,  187 => 45,  179 => 39,  177 => 33,  175 => 32,  173 => 31,  164 => 26,  154 => 25,  141 => 21,  137 => 20,  133 => 19,  129 => 18,  125 => 17,  121 => 16,  116 => 14,  112 => 13,  106 => 10,  101 => 8,  96 => 7,  86 => 6,  65 => 4,  54 => 1,  52 => 2,  39 => 1,);
  308.     }
  309.     public function getSourceContext()
  310.     {
  311.         return new Source("{% extends \"base.html.twig\" %}
  312. {% set SHARING_IMAGE = constant('Aqarmap\\\\Bundle\\\\NeighborhoodBundle\\\\Constant\\\\SharingConstant::IMAGE') %}
  313. {# Page title #}
  314. {% block title %}{{ 'neighborhoods.listing_prices'|trans }} &bull; {{ parent() }}{% endblock %}
  315. {% block htmlhead %}
  316.     <link rel=\"alternate\" hreflang=\"ar\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\" />
  317.     <link rel=\"alternate\" hreflang=\"en\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}\" />
  318.     <link rel=\"alternate\" hreflang=\"x-default\"
  319.         href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\"/>
  320.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  321.     <meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  322.     <meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  323.     <meta property=\"og:title\" content=\"{{ \"%s.%s\"|format('layout.app_name'|trans, 'neighborhoods.prices_guide'|trans) }}\"/>
  324.     <meta property=\"og:description\" content=\"{{ 'neighborhoods.sharing.description'|trans }}\" />
  325.     <meta property=\"og:image\" content=\"{{ SHARING_IMAGE }}\" />
  326.     <meta property=\"og:url\" content=\"{{ url('neighborhood_all_locations') }}\" />
  327.     <meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
  328.     <meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
  329. {% endblock %}
  330. {% block body %}
  331. <section class=\"container  {{ app.request.get('_route') }}\">
  332.     <div class=\"row\">
  333.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  334.             <div class=\"hidden-sm hidden-xs\">
  335.                 {% set NEIGHBORHOOD_BREADCRUMB = knp_menu_get('aqarmap.neighborhood.breadcrumb') %}
  336.                 {{
  337.                     knp_menu_render(NEIGHBORHOOD_BREADCRUMB , {
  338.                         'allow_safe_labels': true,
  339.                         'template': 'knp_breadcrumbs.html.twig',
  340.                         'currentAsLink': true,
  341.                         'currentClass': 'active',
  342.                     })
  343.                 }}
  344.             </div>
  345.             <div class=\"page-header\">
  346.                 <div class=\"row\">
  347.                     <div class=\"col-sm-6 col-xs-12 my-auto\">
  348.                          <h1>{{ 'neighborhoods.page_title'|trans }}</h1>
  349.                     </div>
  350.                     <div class=\"col-sm-6 col-xs-12 my-auto\">
  351.                        <small class=\" flip header-title\">
  352.                              <span class=\"fa fa-star icon\" aria-hidden=\"true\"></span>
  353.                               {{ 'neighborhoods.rating.scale'|trans }}
  354.                         </small>
  355.                     </div>
  356.                 </div>
  357.             </div>
  358.         {% for neighborhood in locations %}
  359.             <a href=\"{{ path('neighborhood_main_page', {'location_slug': neighborhood.slug}) }}\">
  360.                 <div class=\"col-lg-4 col-md-4 col-sm-6 col-xs-12\">
  361.                     <div class=\"neighborhood-card-container\">
  362.                         <div class=\"location-info\">
  363.                             <h6 class=\"location-title\">
  364.                                 {{ neighborhood.title }}
  365.                             </h6>
  366.                             {% if neighborhood.rating %} {% if neighborhood.rating.overall %}
  367.                                 <h6 class=\"location-rate\">
  368.                                     <span>{{ neighborhood.rating.overall }}</span>
  369.                                     <span class=\"far fa-star rate-icon\" aria-hidden=\"true\"></span>
  370.                                 </h6>
  371.                             {% endif %}{% endif %}
  372.                         </div>
  373.                         <div class=\"n-pic\"{% if neighborhood.mainPhoto %} style=\"background-image: url('{{ custom_vich_uploader_asset(neighborhood.mainPhoto.file, 'file') | thumbnail('search-thumb') }}');\"
  374.                         {% else %} style=\"background-image: url('/images/location_blank.png');\" {% endif %}>
  375.                         </div>
  376.                     </div>
  377.                 </div>
  378.             </a>
  379.         {% endfor %}
  380.         </div>
  381.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
  382.             {% set NEIGHBORHOOD_BREADCRUMB = knp_menu_get('aqarmap.neighborhood.breadcrumb') %}
  383.             {{
  384.                 knp_menu_render(NEIGHBORHOOD_BREADCRUMB, {
  385.                     'allow_safe_labels': true,
  386.                     'template': 'knp_breadcrumbs.html.twig',
  387.                     'currentAsLink': true,
  388.                     'currentClass': 'active'
  389.                 })
  390.             }}
  391.         </div>
  392.         <div class=\"discussions col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  393.             <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  394.                 {% include \"@AqarmapMainBundle/Default/locationsSubLinks.html.twig\" %}
  395.             </div>
  396.         </div>
  397.     </div>
  398. </section>
  399. {% endblock %}
  400. {% block footer %}
  401.     {% include \"footer.v2.html.twig\" %}
  402. {% endblock %}
  403. {% block javascripts %}
  404.     {{ parent() }}
  405.     <script>
  406.         jQuery(document).ready(function (\$) {
  407.             loadMoreInit('.sectionLoadMore');
  408.         });
  409.     </script>
  410. {% endblock %}
  411. ""@AqarmapNeighborhood/Default/locations.html.twig""/srv/moonshot/src/Aqarmap/Bundle/NeighborhoodBundle/Resources/views/Default/locations.html.twig");
  412.     }
  413. }