var/cache/dev/twig/d6/d62317523c8b7ec296bab0907f82bb8ac94eaae6e0584adc944450245454a93f.php line 56

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. /* @AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig */
  14. class __TwigTemplate_305126c5a829fd844152f9d189372dc4ea9c58f507415cd1f529e81b7c4b43db extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig"));
  33.         // line 1
  34.         $context["currentUser"] = 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.'1$this->source); })()), "user", [], "any"falsefalsefalse1);
  35.         // line 2
  36.         $context["currentUserEmail"] = (((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'2$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'2$this->source); })()), "email", [], "any"falsefalsefalse2)) : (""));
  37.         // line 3
  38.         echo "
  39. ";
  40.         // line 4
  41.         if ((isset($context["listingsCount"]) || array_key_exists("listingsCount"$context) ? $context["listingsCount"] : (function () { throw new RuntimeError('Variable "listingsCount" does not exist.'4$this->source); })())) {
  42.             // line 5
  43.             echo "    <div ng-controller=\"quickLeadController\" class=\"col-12\">
  44.         <div class=\"row\">
  45.             ";
  46.             // line 7
  47.             $this->loadTemplate("@AqarmapListingBundle/ListingSearch/listingCardVertical.html.twig""@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig"7)->display(twig_array_merge($context, ["listings" => (isset($context["listings"]) || array_key_exists("listings"$context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.'7$this->source); })()), "isCompoundSearchResults" => true"defaultResults" => true"disablePhotosCount" => true"topSellersResults" => false"isRelatedResults" => false"leadSourcePage" => "compounds_results"]));
  48.             // line 8
  49.             echo "        </div>
  50.     </div>
  51. ";
  52.         } else {
  53.             // line 11
  54.             echo "    ";
  55.             $this->loadTemplate("@AqarmapListing/ListingSearch/noSearchResults.html.twig""@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig"11)->display($context);
  56.         }
  57.         // line 13
  58.         echo "
  59. <!-- Pagination -->
  60. <div class=\"col-12 search-listing-card__pagination-container\">
  61.     <div class=\"row\">
  62.         ";
  63.         // line 17
  64.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["listings"]) || array_key_exists("listings"$context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.'17$this->source); })()));
  65.         echo "
  66.     </div>
  67. </div>
  68. ";
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  73 => 17,  67 => 13,  63 => 11,  58 => 8,  56 => 7,  52 => 5,  50 => 4,  47 => 3,  45 => 2,  43 => 1,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("{% set currentUser = app.user %}
  89. {% set currentUserEmail = currentUser ? currentUser.email : '' %}
  90. {% if listingsCount %}
  91.     <div ng-controller=\"quickLeadController\" class=\"col-12\">
  92.         <div class=\"row\">
  93.             {% include \"@AqarmapListingBundle/ListingSearch/listingCardVertical.html.twig\" with {'listings' : listings, 'isCompoundSearchResults': true, 'defaultResults': true, 'disablePhotosCount': true, 'topSellersResults' : false, 'isRelatedResults' : false, 'leadSourcePage': 'compounds_results'} %}
  94.         </div>
  95.     </div>
  96. {% else %}
  97.     {% include \"@AqarmapListing/ListingSearch/noSearchResults.html.twig\" %}
  98. {% endif %}
  99. <!-- Pagination -->
  100. <div class=\"col-12 search-listing-card__pagination-container\">
  101.     <div class=\"row\">
  102.         {{ knp_pagination_render(listings) }}
  103.     </div>
  104. </div>
  105. ""@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig""/srv/moonshot/src/Aqarmap/Bundle/ListingBundle/Resources/views/CompoundSearch/compoundResultsContainer.html.twig");
  106.     }
  107. }