var/cache/dev/twig/2d/2db495d2a1000b95599894079a3efc3de14c9f04103f2b3e1867de0786be4211.php line 33

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/Listing/afterLeadSellerInfo.html.twig */
  14. class __TwigTemplate_684918ced21b6aa0be223fcea04b06cfbb8e7e8cf4bd5eead06914f01c8a356b 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/Listing/afterLeadSellerInfo.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/Listing/afterLeadSellerInfo.html.twig"));
  33.         // line 1
  34.         echo "
  35. <div class=\"users-cards p-0\" ng-init=\"initListingUser()\" ng-controller=\"listingUserController\">
  36.     <div class=\"users-card vertical no-border p-0\" >
  37.         <div class=\"user-info d-flex w-100\">
  38.             <div class=\"lead-seller-card__img-container\">
  39.             <img class=\"lead-seller-card__img lazyload\" ng-if=\"getSellerLogo()\"
  40.             data-src=\"";
  41.         // line 7
  42.         echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\ThumbnailExtension']->getThumbnail($this->extensions['Aqarmap\Bundle\ListingBundle\Twig\ListingShareExtension']->customVichUploaderAsset("ng::getSellerLogo()::""file"), "logo"), "html"nulltrue);
  43.         echo "\"
  44.             alt=\"company-logo\">
  45.             <img ng-if=\"!getSellerLogo()\"
  46.             class=\"lead-seller-card__logo lazyload rounded-circle \"
  47.             src=\"\" data-src=\"";
  48.         // line 11
  49.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/Navbar/ic_profile.svg"), "html"nulltrue);
  50.         echo "\" alt=\"compound-logo\">
  51.             </div>
  52.             ";
  53.         // line 13
  54.         $context["isMultiInfo"] = ("ng::isLeadsCount()" == "true");
  55.         // line 14
  56.         echo "            ";
  57.         $context["dataMultiClass"] = (((isset($context["isMultiInfo"]) || array_key_exists("isMultiInfo"$context) ? $context["isMultiInfo"] : (function () { throw new RuntimeError('Variable "isMultiInfo" does not exist.'14$this->source); })())) ? ("") : ("lead-seller-card__data"));
  58.         // line 15
  59.         echo "            ";
  60.         $context["countNumberClass"] = (((isset($context["isMultiInfo"]) || array_key_exists("isMultiInfo"$context) ? $context["isMultiInfo"] : (function () { throw new RuntimeError('Variable "isMultiInfo" does not exist.'15$this->source); })())) ? ("counts__number ") : ("counts__number counts__number_lg"));
  61.         // line 16
  62.         echo "            ";
  63.         $context["textClass"] = (((isset($context["isMultiInfo"]) || array_key_exists("isMultiInfo"$context) ? $context["isMultiInfo"] : (function () { throw new RuntimeError('Variable "isMultiInfo" does not exist.'16$this->source); })())) ? ("font-weight-normal mb-0") : ("lead-seller-card__joined-text w-auto"));
  64.         // line 17
  65.         echo "            ";
  66.         $context["countsContainerClass"] = (((isset($context["isMultiInfo"]) || array_key_exists("isMultiInfo"$context) ? $context["isMultiInfo"] : (function () { throw new RuntimeError('Variable "isMultiInfo" does not exist.'17$this->source); })())) ? ("counts-container") : ("counts-container p-0"));
  67.         // line 18
  68.         echo "            ";
  69.         $context["countsClass"] = (((isset($context["isMultiInfo"]) || array_key_exists("isMultiInfo"$context) ? $context["isMultiInfo"] : (function () { throw new RuntimeError('Variable "isMultiInfo" does not exist.'18$this->source); })())) ? ("counts p-0 col-auto") : ("counts p-0 m-0 col-auto"));
  70.         // line 19
  71.         echo "
  72.             <div class=\"col p-0 ";
  73.         // line 20
  74.         echo twig_escape_filter($this->env, (isset($context["dataMultiClass"]) || array_key_exists("dataMultiClass"$context) ? $context["dataMultiClass"] : (function () { throw new RuntimeError('Variable "dataMultiClass" does not exist.'20$this->source); })()), "html"nulltrue);
  75.         echo "\">
  76.                 <div>
  77.                     <div class=\"lead-seller-card__name \">
  78.                         <p class=\"lead-seller-card__name-text lead-seller-card__name-text_body_1\" ng-bind=\"getSellerName()\"></p>
  79.                     </div>
  80.                     <div class=\"lead-seller-card__stat\">
  81.                         <span class=\"lead-seller-card__joined-text w-100\">
  82.                             ";
  83.         // line 27
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.since", ["%d%" => "ng::getJoinedData()::"]), "html"nulltrue);
  85.         echo "
  86.                         </span>
  87.                     </div>
  88.                 </div>
  89.                 <div class=\"";
  90.         // line 31
  91.         echo twig_escape_filter($this->env, (isset($context["countsContainerClass"]) || array_key_exists("countsContainerClass"$context) ? $context["countsContainerClass"] : (function () { throw new RuntimeError('Variable "countsContainerClass" does not exist.'31$this->source); })()), "html"nulltrue);
  92.         echo "\">
  93.                         <div class=\"";
  94.         // line 32
  95.         echo twig_escape_filter($this->env, (isset($context["countsClass"]) || array_key_exists("countsClass"$context) ? $context["countsClass"] : (function () { throw new RuntimeError('Variable "countsClass" does not exist.'32$this->source); })()), "html"nulltrue);
  96.         echo "\" ng-if=\"getListingsCount() > 0\">
  97.                             <label class=\"";
  98.         // line 33
  99.         echo twig_escape_filter($this->env, (isset($context["countNumberClass"]) || array_key_exists("countNumberClass"$context) ? $context["countNumberClass"] : (function () { throw new RuntimeError('Variable "countNumberClass" does not exist.'33$this->source); })()), "html"nulltrue);
  100.         echo "\" ng-bind=\"getListingsCount()\"> </label>
  101.                             <label class=\"";
  102.         // line 34
  103.         echo twig_escape_filter($this->env, (isset($context["textClass"]) || array_key_exists("textClass"$context) ? $context["textClass"] : (function () { throw new RuntimeError('Variable "textClass" does not exist.'34$this->source); })()), "html"nulltrue);
  104.         echo "\">";
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.active_listings"), "html"nulltrue);
  106.         echo "</label>
  107.                         </div>
  108.                         <div class=\"";
  109.         // line 36
  110.         echo twig_escape_filter($this->env, (isset($context["countsClass"]) || array_key_exists("countsClass"$context) ? $context["countsClass"] : (function () { throw new RuntimeError('Variable "countsClass" does not exist.'36$this->source); })()), "html"nulltrue);
  111.         echo "\" ng-if=\"isLeadsCount()\">
  112.                             <label class=\"";
  113.         // line 37
  114.         echo twig_escape_filter($this->env, (isset($context["countNumberClass"]) || array_key_exists("countNumberClass"$context) ? $context["countNumberClass"] : (function () { throw new RuntimeError('Variable "countNumberClass" does not exist.'37$this->source); })()), "html"nulltrue);
  115.         echo "\" ng-bind=\"getLeadsCount()\"></label>
  116.                             <label class=\"";
  117.         // line 38
  118.         echo twig_escape_filter($this->env, (isset($context["textClass"]) || array_key_exists("textClass"$context) ? $context["textClass"] : (function () { throw new RuntimeError('Variable "textClass" does not exist.'38$this->source); })()), "html"nulltrue);
  119.         echo "\">";
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.clients_served"), "html"nulltrue);
  121.         echo "</label>
  122.                         </div>
  123.                 </div>
  124.             </div>
  125.         </div>
  126.     </div>
  127. </div>
  128. ";
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.         
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  133.     }
  134.     public function getTemplateName()
  135.     {
  136.         return "@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig";
  137.     }
  138.     public function isTraitable()
  139.     {
  140.         return false;
  141.     }
  142.     public function getDebugInfo()
  143.     {
  144.         return array (  127 => 38,  123 => 37,  119 => 36,  112 => 34,  108 => 33,  104 => 32,  100 => 31,  93 => 27,  83 => 20,  80 => 19,  77 => 18,  74 => 17,  71 => 16,  68 => 15,  65 => 14,  63 => 13,  58 => 11,  51 => 7,  43 => 1,);
  145.     }
  146.     public function getSourceContext()
  147.     {
  148.         return new Source("
  149. <div class=\"users-cards p-0\" ng-init=\"initListingUser()\" ng-controller=\"listingUserController\">
  150.     <div class=\"users-card vertical no-border p-0\" >
  151.         <div class=\"user-info d-flex w-100\">
  152.             <div class=\"lead-seller-card__img-container\">
  153.             <img class=\"lead-seller-card__img lazyload\" ng-if=\"getSellerLogo()\"
  154.             data-src=\"{{ custom_vich_uploader_asset('ng::getSellerLogo()::', 'file')  | thumbnail('logo')}}\"
  155.             alt=\"company-logo\">
  156.             <img ng-if=\"!getSellerLogo()\"
  157.             class=\"lead-seller-card__logo lazyload rounded-circle \"
  158.             src=\"\" data-src=\"{{ asset('images/Navbar/ic_profile.svg') }}\" alt=\"compound-logo\">
  159.             </div>
  160.             {% set isMultiInfo = 'ng::isLeadsCount()' == \"true\" %}
  161.             {% set dataMultiClass = isMultiInfo ? '' : 'lead-seller-card__data' %}
  162.             {% set countNumberClass = isMultiInfo ? 'counts__number ' : 'counts__number counts__number_lg' %}
  163.             {% set textClass = isMultiInfo ? 'font-weight-normal mb-0' : 'lead-seller-card__joined-text w-auto' %}
  164.             {% set countsContainerClass = isMultiInfo ? 'counts-container' : 'counts-container p-0' %}
  165.             {% set countsClass = isMultiInfo ? 'counts p-0 col-auto' : 'counts p-0 m-0 col-auto' %}
  166.             <div class=\"col p-0 {{dataMultiClass}}\">
  167.                 <div>
  168.                     <div class=\"lead-seller-card__name \">
  169.                         <p class=\"lead-seller-card__name-text lead-seller-card__name-text_body_1\" ng-bind=\"getSellerName()\"></p>
  170.                     </div>
  171.                     <div class=\"lead-seller-card__stat\">
  172.                         <span class=\"lead-seller-card__joined-text w-100\">
  173.                             {{ 'labels.compound.since'|trans({'%d%': 'ng::getJoinedData()::'})}}
  174.                         </span>
  175.                     </div>
  176.                 </div>
  177.                 <div class=\"{{countsContainerClass}}\">
  178.                         <div class=\"{{countsClass}}\" ng-if=\"getListingsCount() > 0\">
  179.                             <label class=\"{{countNumberClass}}\" ng-bind=\"getListingsCount()\"> </label>
  180.                             <label class=\"{{textClass}}\">{{'listing.active_listings'|trans}}</label>
  181.                         </div>
  182.                         <div class=\"{{countsClass}}\" ng-if=\"isLeadsCount()\">
  183.                             <label class=\"{{countNumberClass}}\" ng-bind=\"getLeadsCount()\"></label>
  184.                             <label class=\"{{textClass}}\">{{ 'labels.clients_served'|trans }}</label>
  185.                         </div>
  186.                 </div>
  187.             </div>
  188.         </div>
  189.     </div>
  190. </div>
  191. ""@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig""/srv/moonshot/src/Aqarmap/Bundle/ListingBundle/Resources/views/Listing/afterLeadSellerInfo.html.twig");
  192.     }
  193. }