<?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;
/* @AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig */
class __TwigTemplate_684918ced21b6aa0be223fcea04b06cfbb8e7e8cf4bd5eead06914f01c8a356b extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig"));
// line 1
echo "
<div class=\"users-cards p-0\" ng-init=\"initListingUser()\" ng-controller=\"listingUserController\">
<div class=\"users-card vertical no-border p-0\" >
<div class=\"user-info d-flex w-100\">
<div class=\"lead-seller-card__img-container\">
<img class=\"lead-seller-card__img lazyload\" ng-if=\"getSellerLogo()\"
data-src=\"";
// line 7
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", null, true);
echo "\"
alt=\"company-logo\">
<img ng-if=\"!getSellerLogo()\"
class=\"lead-seller-card__logo lazyload rounded-circle \"
src=\"\" data-src=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/Navbar/ic_profile.svg"), "html", null, true);
echo "\" alt=\"compound-logo\">
</div>
";
// line 13
$context["isMultiInfo"] = ("ng::isLeadsCount()" == "true");
// line 14
echo " ";
$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"));
// line 15
echo " ";
$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"));
// line 16
echo " ";
$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"));
// line 17
echo " ";
$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"));
// line 18
echo " ";
$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"));
// line 19
echo "
<div class=\"col p-0 ";
// line 20
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", null, true);
echo "\">
<div>
<div class=\"lead-seller-card__name \">
<p class=\"lead-seller-card__name-text lead-seller-card__name-text_body_1\" ng-bind=\"getSellerName()\"></p>
</div>
<div class=\"lead-seller-card__stat\">
<span class=\"lead-seller-card__joined-text w-100\">
";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.since", ["%d%" => "ng::getJoinedData()::"]), "html", null, true);
echo "
</span>
</div>
</div>
<div class=\"";
// line 31
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", null, true);
echo "\">
<div class=\"";
// line 32
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", null, true);
echo "\" ng-if=\"getListingsCount() > 0\">
<label class=\"";
// line 33
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", null, true);
echo "\" ng-bind=\"getListingsCount()\"> </label>
<label class=\"";
// line 34
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", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.active_listings"), "html", null, true);
echo "</label>
</div>
<div class=\"";
// line 36
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", null, true);
echo "\" ng-if=\"isLeadsCount()\">
<label class=\"";
// line 37
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", null, true);
echo "\" ng-bind=\"getLeadsCount()\"></label>
<label class=\"";
// line 38
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", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.clients_served"), "html", null, true);
echo "</label>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("
<div class=\"users-cards p-0\" ng-init=\"initListingUser()\" ng-controller=\"listingUserController\">
<div class=\"users-card vertical no-border p-0\" >
<div class=\"user-info d-flex w-100\">
<div class=\"lead-seller-card__img-container\">
<img class=\"lead-seller-card__img lazyload\" ng-if=\"getSellerLogo()\"
data-src=\"{{ custom_vich_uploader_asset('ng::getSellerLogo()::', 'file') | thumbnail('logo')}}\"
alt=\"company-logo\">
<img ng-if=\"!getSellerLogo()\"
class=\"lead-seller-card__logo lazyload rounded-circle \"
src=\"\" data-src=\"{{ asset('images/Navbar/ic_profile.svg') }}\" alt=\"compound-logo\">
</div>
{% set isMultiInfo = 'ng::isLeadsCount()' == \"true\" %}
{% set dataMultiClass = isMultiInfo ? '' : 'lead-seller-card__data' %}
{% set countNumberClass = isMultiInfo ? 'counts__number ' : 'counts__number counts__number_lg' %}
{% set textClass = isMultiInfo ? 'font-weight-normal mb-0' : 'lead-seller-card__joined-text w-auto' %}
{% set countsContainerClass = isMultiInfo ? 'counts-container' : 'counts-container p-0' %}
{% set countsClass = isMultiInfo ? 'counts p-0 col-auto' : 'counts p-0 m-0 col-auto' %}
<div class=\"col p-0 {{dataMultiClass}}\">
<div>
<div class=\"lead-seller-card__name \">
<p class=\"lead-seller-card__name-text lead-seller-card__name-text_body_1\" ng-bind=\"getSellerName()\"></p>
</div>
<div class=\"lead-seller-card__stat\">
<span class=\"lead-seller-card__joined-text w-100\">
{{ 'labels.compound.since'|trans({'%d%': 'ng::getJoinedData()::'})}}
</span>
</div>
</div>
<div class=\"{{countsContainerClass}}\">
<div class=\"{{countsClass}}\" ng-if=\"getListingsCount() > 0\">
<label class=\"{{countNumberClass}}\" ng-bind=\"getListingsCount()\"> </label>
<label class=\"{{textClass}}\">{{'listing.active_listings'|trans}}</label>
</div>
<div class=\"{{countsClass}}\" ng-if=\"isLeadsCount()\">
<label class=\"{{countNumberClass}}\" ng-bind=\"getLeadsCount()\"></label>
<label class=\"{{textClass}}\">{{ 'labels.clients_served'|trans }}</label>
</div>
</div>
</div>
</div>
</div>
</div>
", "@AqarmapListingBundle/Listing/afterLeadSellerInfo.html.twig", "/srv/moonshot/src/Aqarmap/Bundle/ListingBundle/Resources/views/Listing/afterLeadSellerInfo.html.twig");
}
}