var/cache/dev/twig/04/04867ab47e1cdfda9f670970254adc57cbb97b8dba46c688c83e16001ee7bf41.php line 199

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. /* @AqarmapUser/User/index.html.twig */
  14. class __TwigTemplate_de36c7288aaa1f7d1905734e7fdd306e43f722edf283cee3956422b914fcf572 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.             'metatags' => [$this'block_metatags'],
  25.             'htmlhead' => [$this'block_htmlhead'],
  26.             'categorizedStylesheets' => [$this'block_categorizedStylesheets'],
  27.             'body' => [$this'block_body'],
  28.             'categorizedJavascripts' => [$this'block_categorizedJavascripts'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapUser/User/index.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapUser/User/index.html.twig"));
  43.         // line 3
  44.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("@AqarmapListing/Default/macros/paginationMeta.twig""@AqarmapUser/User/index.html.twig"3)->unwrap();
  45.         // line 1
  46.         $this->parent $this->loadTemplate("base.html.twig""@AqarmapUser/User/index.html.twig"1);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 6
  54.     public function block_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         $this->displayParentBlock("title"$context$blocks);
  62.         echo " &bull; ";
  63.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["user"] ?? null), "fullName", [], "any"truetruefalse6)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["user"] ?? null), "fullName", [], "any"falsefalsefalse6), twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'6$this->source); })()), "username", [], "any"falsefalsefalse6))) : (twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'6$this->source); })()), "username", [], "any"falsefalsefalse6))), "html"nulltrue);
  64.         echo " ";
  65.         
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  67.         
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  69.     }
  70.     // line 8
  71.     public function block_metatags($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  78.         // line 9
  79.         echo "    <meta name=\"robots\" content=\"noindex\">
  80. ";
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.         
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  85.     }
  86.     // line 12
  87.     public function block_htmlhead($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  94.         // line 13
  95.         echo "    ";
  96.         $context["firstListingArray"] = twig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'13$this->source); })()), "items", [], "any"falsefalsefalse13));
  97.         // line 14
  98.         echo "    ";
  99.         $context["firstListing"] = (((isset($context["firstListingArray"]) || array_key_exists("firstListingArray"$context) ? $context["firstListingArray"] : (function () { throw new RuntimeError('Variable "firstListingArray" does not exist.'14$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["firstListingArray"]) || array_key_exists("firstListingArray"$context) ? $context["firstListingArray"] : (function () { throw new RuntimeError('Variable "firstListingArray" does not exist.'14$this->source); })()), "listing", [], "array"falsefalsefalse14)) : (null));
  100.         // line 15
  101.         echo "
  102.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  103.     <meta name=\"twitter:site\" content=\"";
  104.         // line 17
  105.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  106.         echo "\" />
  107.     <meta name=\"twitter:creator\" content=\"";
  108.         // line 18
  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 property=\"og:title\" content=\"";
  112.         // line 20
  113.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.sharing.title", ["%user%" => twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'20$this->source); })()), "username", [], "any"falsefalsefalse20)]), "html"nulltrue);
  114.         echo "\"/>
  115.     <meta property=\"og:description\" content=\"";
  116.         // line 21
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.sharing.description"), "html"nulltrue);
  118.         echo "\" />
  119.     <meta property=\"og:image\" content=\"";
  120.         // line 22
  121.         if (((isset($context["firstListing"]) || array_key_exists("firstListing"$context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.'22$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["firstListing"]) || array_key_exists("firstListing"$context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.'22$this->source); })()), "mainPhoto", [], "any"falsefalsefalse22))) {
  122.             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["firstListing"]) || array_key_exists("firstListing"$context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.'22$this->source); })()), "mainPhoto", [], "any"falsefalsefalse22), "file", [], "any"falsefalsefalse22), "file"), "large"), "html"nulltrue);
  123.         }
  124.         echo "\" />
  125.     <meta property=\"og:site_name\" content=\"";
  126.         // line 23
  127.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html"nulltrue);
  128.         echo "\" />
  129.     <meta property=\"fb:app_id\" content=\"";
  130.         // line 24
  131.         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.'24$this->source); })()), "html"nulltrue);
  132.         echo "\"/>
  133.     <link rel=\"canonical\" href=\"";
  134.         // line 25
  135.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("aqarmap_user_listings", ["id" => twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'25$this->source); })()), "id", [], "any"falsefalsefalse25), "page" => 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.'25$this->source); })()), "request", [], "any"falsefalsefalse25), "get", [=> "page"=> null], "method"falsefalsefalse25)]), "html"nulltrue);
  136.         echo "\"/>
  137.     ";
  138.         // line 26
  139.         echo twig_call_macro($macros["macros"], "macro_pagination_meta", [(isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'26$this->source); })())], 26$context$this->getSourceContext());
  140.         echo "
  141. ";
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  146.     }
  147.     // line 29
  148.     public function block_categorizedStylesheets($context, array $blocks = [])
  149.     {
  150.         $macros $this->macros;
  151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  155.         // line 30
  156.         echo "<link rel=\"stylesheet\" href=\"";
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/customerListingsBuild" . (((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.'30$this->source); })()), "environment", [], "any"falsefalsefalse30) == "dev")) ? ("") : (".min"))) . ".css")), "html"nulltrue);
  158.         echo "\" />
  159. ";
  160.         
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  162.         
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  164.     }
  165.     // line 32
  166.     public function block_body($context, array $blocks = [])
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  173.         // line 33
  174.         echo "    ";
  175.         $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.'33$this->source); })()), "user", [], "any"falsefalsefalse33);
  176.         // line 34
  177.         echo "    ";
  178.         $context["isMobile"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\MobileDetectionExtension']->isMobileAgent(twig_get_attribute($this->env$this->sourcetwig_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.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "headers", [], "any"falsefalsefalse34), "get", [=> "User-Agent"], "method"falsefalsefalse34));
  179.         // line 35
  180.         echo "    ";
  181.         $context["currentUserEmail"] = (((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'35$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.'35$this->source); })()), "email", [], "any"falsefalsefalse35)) : (""));
  182.         // line 36
  183.         echo "    ";
  184.         $context["location"] = null;
  185.         // line 37
  186.         echo "
  187.     <section ng-controller=\"quickLeadController\">
  188.         <div class=\"container\">
  189.             <div class=\"row\">
  190.                 <div class=\"col\">
  191.                     <div class=\"page-header\">
  192.                         <h1>";
  193.         // line 43
  194.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_settings.properties", ["%user_name%" => ((twig_get_attribute($this->env$this->source, ($context["user"] ?? null), "fullName", [], "any"truetruefalse43)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["user"] ?? null), "fullName", [], "any"falsefalsefalse43), twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'43$this->source); })()), "username", [], "any"falsefalsefalse43))) : (twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'43$this->source); })()), "username", [], "any"falsefalsefalse43)))]), "html"nulltrue);
  195.         echo "</h1>
  196.                     </div>
  197.                 </div>
  198.                 ";
  199.         // line 46
  200.         if ((twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'46$this->source); })()), "logo", [], "any"falsefalsefalse46) && twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'46$this->source); })()), "isValidLogo", [], "any"falsefalsefalse46))) {
  201.             // line 47
  202.             echo "                    <div class=\"col\">
  203.                         <div class=\"page-header img-responsive pull-right flip\">
  204.                             <img style=\"margin-bottom: 15px;\" src=\"";
  205.             // line 49
  206.             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, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'49$this->source); })()), "logo", [], "any"falsefalsefalse49), "file"), "logo"), "html"nulltrue);
  207.             echo "\" alt=\"user-logo\">
  208.                         </div>
  209.                     </div>
  210.                 ";
  211.         }
  212.         // line 53
  213.         echo "            </div>
  214.             <div class=\"row\">
  215.                 ";
  216.         // line 55
  217.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'55$this->source); })()), "items", [], "any"falsefalsefalse55))) {
  218.             // line 56
  219.             echo "                    ";
  220.             $this->loadTemplate("@AqarmapListing/ListingSearch/listingCardVertical.html.twig""@AqarmapUser/User/index.html.twig"56)->display(twig_array_merge($context, ["listings" => twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'56$this->source); })()), "items", [], "any"falsefalsefalse56), "mainListing" => false"isRelatedToListing" => false"defaultResults" => false"topSellersResults" => false"isRelatedResults" => false"cardGridSize" => "col-md-4 col-6""disablePhotosCount" => true"leadSourcePage" => "seller_profile"]));
  221.             // line 57
  222.             echo "                ";
  223.         } else {
  224.             // line 58
  225.             echo "                    <p>";
  226.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_settings.no_listings"), "html"nulltrue);
  227.             echo "</p>
  228.                 ";
  229.         }
  230.         // line 60
  231.         echo "            </div>
  232.             <!-- Pagination -->
  233.             ";
  234.         // line 62
  235.         echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'62$this->source); })()));
  236.         echo "
  237.             <!-- /Pagination -->
  238.         </div>
  239.     </section>
  240.     ";
  241.         // line 66
  242.         echo twig_include($this->env$context"@AqarmapListingBundle/Listing/listingPhoneModal.html.twig");
  243.         echo "
  244.     <div ng-controller=\"listingLeadsWizardController\" ng-init=\"initFormWizard()\">
  245.         ";
  246.         // line 68
  247.         echo twig_include($this->env$context"@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig");
  248.         echo "
  249.     </div>
  250.     <div ng-controller=\"afterLeadController\" >
  251.         ";
  252.         // line 71
  253.         $this->loadTemplate("@AqarmapListingBundle/Listing/afterLeadModal.html.twig""@AqarmapUser/User/index.html.twig"71)->display($context);
  254.         // line 72
  255.         echo "        ";
  256.         $this->loadTemplate("@AqarmapListingBundle/Listing/mortgageModal.html.twig""@AqarmapUser/User/index.html.twig"72)->display($context);
  257.         // line 73
  258.         echo "        ";
  259.         $this->loadTemplate("@AqarmapListingBundle/Listing/similarListingsModal.html.twig""@AqarmapUser/User/index.html.twig"73)->display($context);
  260.         // line 74
  261.         echo "        <div ng-controller=\"RatingController\">
  262.             ";
  263.         // line 75
  264.         $this->loadTemplate("@AqarmapListing/Listing/ratingFormModal.html.twig""@AqarmapUser/User/index.html.twig"75)->display($context);
  265.         // line 76
  266.         echo "            ";
  267.         $this->loadTemplate("@AqarmapListing/Listing/ratingProblemsModal.html.twig""@AqarmapUser/User/index.html.twig"76)->display($context);
  268.         // line 77
  269.         echo "        </div>
  270.         <div ng-controller=\"FeaturedCompaniesController\"
  271.                 ng-init=\"setTopCompaniesData();
  272.                 fetchFeaturedCompanies();\"
  273.                 >
  274.             <div ng-if=\"!isTopCompaniesEmpty()\" ng-cloak>
  275.                 ";
  276.         // line 83
  277.         $this->loadTemplate("@AqarmapListingBundle/Listing/topSellersLogosModal.html.twig""@AqarmapUser/User/index.html.twig"83)->display(twig_array_merge($context, ["trigger" => """eventAction" => ""]));
  278.         // line 84
  279.         echo "            </div>
  280.         </div>
  281.     </div>
  282.     ";
  283.         // line 87
  284.         echo twig_include($this->env$context"@AqarmapUserBundle/User/RegistrationSurvey.html.twig");
  285.         echo "
  286. ";
  287.         
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  289.         
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  291.     }
  292.     // line 90
  293.     public function block_categorizedJavascripts($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  300.         // line 91
  301.         echo "        <script src=\"";
  302.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCustomerListings" . (((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.'91$this->source); })()), "environment", [], "any"falsefalsefalse91) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  303.         echo "\"></script>
  304. ";
  305.         
  306.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  307.         
  308.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  309.     }
  310.     public function getTemplateName()
  311.     {
  312.         return "@AqarmapUser/User/index.html.twig";
  313.     }
  314.     public function isTraitable()
  315.     {
  316.         return false;
  317.     }
  318.     public function getDebugInfo()
  319.     {
  320.         return array (  342 => 91,  332 => 90,  319 => 87,  314 => 84,  312 => 83,  304 => 77,  301 => 76,  299 => 75,  296 => 74,  293 => 73,  290 => 72,  288 => 71,  282 => 68,  277 => 66,  270 => 62,  266 => 60,  260 => 58,  257 => 57,  254 => 56,  252 => 55,  248 => 53,  241 => 49,  237 => 47,  235 => 46,  229 => 43,  221 => 37,  218 => 36,  215 => 35,  212 => 34,  209 => 33,  199 => 32,  186 => 30,  176 => 29,  164 => 26,  160 => 25,  156 => 24,  152 => 23,  146 => 22,  142 => 21,  138 => 20,  133 => 18,  129 => 17,  125 => 15,  122 => 14,  119 => 13,  109 => 12,  98 => 9,  88 => 8,  66 => 6,  55 => 1,  53 => 3,  40 => 1,);
  321.     }
  322.     public function getSourceContext()
  323.     {
  324.         return new Source("{% extends \"base.html.twig\" %}
  325. {% import '@AqarmapListing/Default/macros/paginationMeta.twig' as macros %}
  326. {# Page title #}
  327. {% block title %}{{ parent() }} &bull; {{ user.fullName|default(user.username) }} {% endblock %}
  328. {% block metatags %}
  329.     <meta name=\"robots\" content=\"noindex\">
  330. {% endblock %}
  331. {% block htmlhead %}
  332.     {% set firstListingArray = entity.items|first %}
  333.     {% set firstListing = firstListingArray ? firstListingArray ['listing']: NULL %}
  334.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  335.     <meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  336.     <meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  337.     <meta property=\"og:title\" content=\"{{ 'user.sharing.title'|trans({'%user%': user.username}) }}\"/>
  338.     <meta property=\"og:description\" content=\"{{ 'user.sharing.description'|trans }}\" />
  339.     <meta property=\"og:image\" content=\"{% if firstListing and firstListing.mainPhoto %}{{ custom_vich_uploader_asset(firstListing.mainPhoto.file, 'file') | thumbnail('large')}}{% endif %}\" />
  340.     <meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
  341.     <meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
  342.     <link rel=\"canonical\" href=\"{{ url('aqarmap_user_listings', {id: user.id, page: app.request.get('page', null)}) }}\"/>
  343.     {{ macros.pagination_meta(entity) }}
  344. {% endblock %}
  345. {% block categorizedStylesheets -%}
  346.     <link rel=\"stylesheet\" href=\"{{ asset('builds/css/customerListingsBuild'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
  347. {% endblock %}
  348. {% block body %}
  349.     {% set currentUser = app.user %}
  350.     {% set isMobile = isMobileAgent(app.request.headers.get('User-Agent')) %}
  351.     {% set currentUserEmail = currentUser ? currentUser.email : '' %}
  352.     {% set location = null %}
  353.     <section ng-controller=\"quickLeadController\">
  354.         <div class=\"container\">
  355.             <div class=\"row\">
  356.                 <div class=\"col\">
  357.                     <div class=\"page-header\">
  358.                         <h1>{{ 'user_settings.properties'|trans({'%user_name%': user.fullName|default(user.username)}) }}</h1>
  359.                     </div>
  360.                 </div>
  361.                 {% if user.logo and user.isValidLogo %}
  362.                     <div class=\"col\">
  363.                         <div class=\"page-header img-responsive pull-right flip\">
  364.                             <img style=\"margin-bottom: 15px;\" src=\"{{ custom_vich_uploader_asset(user.logo, 'file')  | thumbnail('logo') }}\" alt=\"user-logo\">
  365.                         </div>
  366.                     </div>
  367.                 {% endif %}
  368.             </div>
  369.             <div class=\"row\">
  370.                 {% if  entity.items is not empty %}
  371.                     {% include '@AqarmapListing/ListingSearch/listingCardVertical.html.twig' with {'listings': entity.items, 'mainListing': false, 'isRelatedToListing': false, 'defaultResults' : false, 'topSellersResults' : false, 'isRelatedResults' : false , 'cardGridSize': 'col-md-4 col-6', 'disablePhotosCount': true , 'leadSourcePage': 'seller_profile'}%}
  372.                 {% else %}
  373.                     <p>{{ 'user_settings.no_listings'|trans }}</p>
  374.                 {% endif %}
  375.             </div>
  376.             <!-- Pagination -->
  377.             {{ knp_pagination_render(entity) }}
  378.             <!-- /Pagination -->
  379.         </div>
  380.     </section>
  381.     {{ include('@AqarmapListingBundle/Listing/listingPhoneModal.html.twig') }}
  382.     <div ng-controller=\"listingLeadsWizardController\" ng-init=\"initFormWizard()\">
  383.         {{ include('@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig') }}
  384.     </div>
  385.     <div ng-controller=\"afterLeadController\" >
  386.         {% include '@AqarmapListingBundle/Listing/afterLeadModal.html.twig' %}
  387.         {% include \"@AqarmapListingBundle/Listing/mortgageModal.html.twig\" %}
  388.         {% include \"@AqarmapListingBundle/Listing/similarListingsModal.html.twig\" %}
  389.         <div ng-controller=\"RatingController\">
  390.             {% include \"@AqarmapListing/Listing/ratingFormModal.html.twig\" %}
  391.             {% include \"@AqarmapListing/Listing/ratingProblemsModal.html.twig\" %}
  392.         </div>
  393.         <div ng-controller=\"FeaturedCompaniesController\"
  394.                 ng-init=\"setTopCompaniesData();
  395.                 fetchFeaturedCompanies();\"
  396.                 >
  397.             <div ng-if=\"!isTopCompaniesEmpty()\" ng-cloak>
  398.                 {% include \"@AqarmapListingBundle/Listing/topSellersLogosModal.html.twig\"  with {trigger: '', eventAction:''}%}
  399.             </div>
  400.         </div>
  401.     </div>
  402.     {{ include('@AqarmapUserBundle/User/RegistrationSurvey.html.twig') }}
  403. {% endblock %}
  404. {% block categorizedJavascripts %}
  405.         <script src=\"{{ asset('builds/js/buildCustomerListings'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  406. {% endblock %}
  407. ""@AqarmapUser/User/index.html.twig""/srv/moonshot/src/Aqarmap/Bundle/UserBundle/Resources/views/User/index.html.twig");
  408.     }
  409. }