<?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;
/* @AqarmapNeighborhood/Default/locations.html.twig */
class __TwigTemplate_175b0bce5743f1d77f7b7bdc4e1188d9416cb17bbc6ea5cdb85738ec4f71fc7f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'htmlhead' => [$this, 'block_htmlhead'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
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", "@AqarmapNeighborhood/Default/locations.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@AqarmapNeighborhood/Default/locations.html.twig"));
// line 2
$context["SHARING_IMAGE"] = twig_constant("Aqarmap\\Bundle\\NeighborhoodBundle\\Constant\\SharingConstant::IMAGE");
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "@AqarmapNeighborhood/Default/locations.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($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(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.listing_prices"), "html", null, true);
echo " • ";
$this->displayParentBlock("title", $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_htmlhead($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(), "block", "htmlhead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "htmlhead"));
// line 7
echo " <link rel=\"alternate\" hreflang=\"ar\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 7), "get", [0 => "_route"], "method", false, false, false, 7), twig_array_merge(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 7), "get", [0 => "_route_params"], "method", false, false, false, 7), ["_locale" => "ar"])), "html", null, true);
echo "\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 8), "get", [0 => "_route"], "method", false, false, false, 8), twig_array_merge(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 8), "get", [0 => "_route_params"], "method", false, false, false, 8), ["_locale" => "en"])), "html", null, true);
echo "\" />
<link rel=\"alternate\" hreflang=\"x-default\"
href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 10), "get", [0 => "_route"], "method", false, false, false, 10), twig_array_merge(twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 10), "get", [0 => "_route_params"], "method", false, false, false, 10), ["_locale" => "ar"])), "html", null, true);
echo "\"/>
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"";
// line 13
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
<meta name=\"twitter:creator\" content=\"";
// line 14
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
<meta property=\"og:title\" content=\"";
// line 16
echo twig_escape_filter($this->env, twig_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", null, true);
echo "\"/>
<meta property=\"og:description\" content=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.sharing.description"), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 18
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", null, true);
echo "\" />
<meta property=\"og:url\" content=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("neighborhood_all_locations");
echo "\" />
<meta property=\"og:site_name\" content=\"";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html", null, true);
echo "\" />
<meta property=\"fb:app_id\" content=\"";
// line 21
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", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 25
public function block_body($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(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 26
echo "<section class=\"container ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 26), "get", [0 => "_route"], "method", false, false, false, 26), "html", null, true);
echo "\">
<div class=\"row\">
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"hidden-sm hidden-xs\">
";
// line 31
$context["NEIGHBORHOOD_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("aqarmap.neighborhood.breadcrumb");
// line 32
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render( // line 33
(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"]);
// line 39
echo "
</div>
<div class=\"page-header\">
<div class=\"row\">
<div class=\"col-sm-6 col-xs-12 my-auto\">
<h1>";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.page_title"), "html", null, true);
echo "</h1>
</div>
<div class=\"col-sm-6 col-xs-12 my-auto\">
<small class=\" flip header-title\">
<span class=\"fa fa-star icon\" aria-hidden=\"true\"></span>
";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("neighborhoods.rating.scale"), "html", null, true);
echo "
</small>
</div>
</div>
</div>
";
// line 56
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["neighborhood"]) {
// line 57
echo " <a href=\"";
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", false, false, false, 57)]), "html", null, true);
echo "\">
<div class=\"col-lg-4 col-md-4 col-sm-6 col-xs-12\">
<div class=\"neighborhood-card-container\">
<div class=\"location-info\">
<h6 class=\"location-title\">
";
// line 62
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["neighborhood"], "title", [], "any", false, false, false, 62), "html", null, true);
echo "
</h6>
";
// line 64
if (twig_get_attribute($this->env, $this->source, $context["neighborhood"], "rating", [], "any", false, false, false, 64)) {
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["neighborhood"], "rating", [], "any", false, false, false, 64), "overall", [], "any", false, false, false, 64)) {
// line 65
echo " <h6 class=\"location-rate\">
<span>";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["neighborhood"], "rating", [], "any", false, false, false, 66), "overall", [], "any", false, false, false, 66), "html", null, true);
echo "</span>
<span class=\"far fa-star rate-icon\" aria-hidden=\"true\"></span>
</h6>
";
}
}
// line 70
echo " </div>
<div class=\"n-pic\"";
// line 71
if (twig_get_attribute($this->env, $this->source, $context["neighborhood"], "mainPhoto", [], "any", false, false, false, 71)) {
echo " style=\"background-image: url('";
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->source, twig_get_attribute($this->env, $this->source, $context["neighborhood"], "mainPhoto", [], "any", false, false, false, 71), "file", [], "any", false, false, false, 71), "file"), "search-thumb"), "html", null, true);
echo "');\"
";
} else {
// line 72
echo " style=\"background-image: url('/images/location_blank.png');\" ";
}
echo ">
</div>
</div>
</div>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['neighborhood'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
echo " </div>
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
";
// line 80
$context["NEIGHBORHOOD_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("aqarmap.neighborhood.breadcrumb");
// line 81
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render( // line 82
(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"]);
// line 88
echo "
</div>
<div class=\"discussions col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
";
// line 92
$this->loadTemplate("@AqarmapMainBundle/Default/locationsSubLinks.html.twig", "@AqarmapNeighborhood/Default/locations.html.twig", 92)->display($context);
// line 93
echo " </div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 101
public function block_footer($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(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 102
echo " ";
$this->loadTemplate("footer.v2.html.twig", "@AqarmapNeighborhood/Default/locations.html.twig", 102)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 105
public function block_javascripts($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(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 106
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
jQuery(document).ready(function (\$) {
loadMoreInit('.sectionLoadMore');
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@AqarmapNeighborhood/Default/locations.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% set SHARING_IMAGE = constant('Aqarmap\\\\Bundle\\\\NeighborhoodBundle\\\\Constant\\\\SharingConstant::IMAGE') %}
{# Page title #}
{% block title %}{{ 'neighborhoods.listing_prices'|trans }} • {{ parent() }}{% endblock %}
{% block htmlhead %}
<link rel=\"alternate\" hreflang=\"ar\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\" />
<link rel=\"alternate\" hreflang=\"en\" href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}\" />
<link rel=\"alternate\" hreflang=\"x-default\"
href=\"{{ url(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}\"/>
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
<meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
<meta property=\"og:title\" content=\"{{ \"%s.%s\"|format('layout.app_name'|trans, 'neighborhoods.prices_guide'|trans) }}\"/>
<meta property=\"og:description\" content=\"{{ 'neighborhoods.sharing.description'|trans }}\" />
<meta property=\"og:image\" content=\"{{ SHARING_IMAGE }}\" />
<meta property=\"og:url\" content=\"{{ url('neighborhood_all_locations') }}\" />
<meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
<meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
{% endblock %}
{% block body %}
<section class=\"container {{ app.request.get('_route') }}\">
<div class=\"row\">
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"hidden-sm hidden-xs\">
{% set NEIGHBORHOOD_BREADCRUMB = knp_menu_get('aqarmap.neighborhood.breadcrumb') %}
{{
knp_menu_render(NEIGHBORHOOD_BREADCRUMB , {
'allow_safe_labels': true,
'template': 'knp_breadcrumbs.html.twig',
'currentAsLink': true,
'currentClass': 'active',
})
}}
</div>
<div class=\"page-header\">
<div class=\"row\">
<div class=\"col-sm-6 col-xs-12 my-auto\">
<h1>{{ 'neighborhoods.page_title'|trans }}</h1>
</div>
<div class=\"col-sm-6 col-xs-12 my-auto\">
<small class=\" flip header-title\">
<span class=\"fa fa-star icon\" aria-hidden=\"true\"></span>
{{ 'neighborhoods.rating.scale'|trans }}
</small>
</div>
</div>
</div>
{% for neighborhood in locations %}
<a href=\"{{ path('neighborhood_main_page', {'location_slug': neighborhood.slug}) }}\">
<div class=\"col-lg-4 col-md-4 col-sm-6 col-xs-12\">
<div class=\"neighborhood-card-container\">
<div class=\"location-info\">
<h6 class=\"location-title\">
{{ neighborhood.title }}
</h6>
{% if neighborhood.rating %} {% if neighborhood.rating.overall %}
<h6 class=\"location-rate\">
<span>{{ neighborhood.rating.overall }}</span>
<span class=\"far fa-star rate-icon\" aria-hidden=\"true\"></span>
</h6>
{% endif %}{% endif %}
</div>
<div class=\"n-pic\"{% if neighborhood.mainPhoto %} style=\"background-image: url('{{ custom_vich_uploader_asset(neighborhood.mainPhoto.file, 'file') | thumbnail('search-thumb') }}');\"
{% else %} style=\"background-image: url('/images/location_blank.png');\" {% endif %}>
</div>
</div>
</div>
</a>
{% endfor %}
</div>
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
{% set NEIGHBORHOOD_BREADCRUMB = knp_menu_get('aqarmap.neighborhood.breadcrumb') %}
{{
knp_menu_render(NEIGHBORHOOD_BREADCRUMB, {
'allow_safe_labels': true,
'template': 'knp_breadcrumbs.html.twig',
'currentAsLink': true,
'currentClass': 'active'
})
}}
</div>
<div class=\"discussions col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
{% include \"@AqarmapMainBundle/Default/locationsSubLinks.html.twig\" %}
</div>
</div>
</div>
</section>
{% endblock %}
{% block footer %}
{% include \"footer.v2.html.twig\" %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
jQuery(document).ready(function (\$) {
loadMoreInit('.sectionLoadMore');
});
</script>
{% endblock %}
", "@AqarmapNeighborhood/Default/locations.html.twig", "/srv/moonshot/src/Aqarmap/Bundle/NeighborhoodBundle/Resources/views/Default/locations.html.twig");
}
}