var/cache/review/twig/44/44c3df4f7ed8269eeb6dbbee14f70c41.php line 94

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. /* ProfileList/list.profiles.html.twig */
  14. class __TwigTemplate_a8169726f405d869ec55b479094189e6 extends 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_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  35.         // line 1
  36.         if (((null != (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'1$this->source); })())) || array_key_exists("profile_top_placement"$context))) {
  37.             // line 2
  38.             echo "<h2 class=\"px-3 w-100\">";
  39.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'2$this->source); })()), "totalCount", [], "any"falsefalsefalse2), "html"nulltrue);
  40.             echo " ";
  41.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ToolsExtension']->inclineNumeral(twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'2$this->source); })()), "totalCount", [], "any"falsefalsefalse2), ["товар""товара""товаров"]), "html"nulltrue);
  42.             echo "</h2>
  43. ";
  44.         }
  45.         // line 4
  46.         $context["profiles_array"] = ((is_iterable((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'4$this->source); })()))) ? (((twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "array", [], "any"truetruefalse4)) ? (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'4$this->source); })()), "array", [], "any"falsefalsefalse4)) : ((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'4$this->source); })())))) : ([]));
  47.         // line 5
  48.         if (((array_key_exists("top_profile"$context) && (null != (isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'5$this->source); })()))) && (null != (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'5$this->source); })())))) {
  49.             // line 6
  50.             echo "    ";
  51.             $context["profiles_array"] = twig_array_merge([(isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'6$this->source); })())], (isset($context["profiles_array"]) || array_key_exists("profiles_array"$context) ? $context["profiles_array"] : (function () { throw new RuntimeError('Variable "profiles_array" does not exist.'6$this->source); })()));
  52.         }
  53.         // line 8
  54.         $context['_parent'] = $context;
  55.         $context['_seq'] = twig_ensure_traversable((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'8$this->source); })()));
  56.         $context['loop'] = [
  57.           'parent' => $context['_parent'],
  58.           'index0' => 0,
  59.           'index'  => 1,
  60.           'first'  => true,
  61.         ];
  62.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  63.             $length count($context['_seq']);
  64.             $context['loop']['revindex0'] = $length 1;
  65.             $context['loop']['revindex'] = $length;
  66.             $context['loop']['length'] = $length;
  67.             $context['loop']['last'] = === $length;
  68.         }
  69.         foreach ($context['_seq'] as $context["_key"] => $context["profile"]) {
  70.             // line 9
  71.             echo "    <div class=\"col-4\">
  72.         <div class=\"card\" alt=\"";
  73.             // line 10
  74.             ((twig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse10)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse10), "phone", [], "any"falsefalsefalse10), "html"nulltrue))) : (print ("")));
  75.             echo "\">
  76.             ";
  77.             // line 11
  78.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar($context["profile"]);
  79.             // line 12
  80.             echo "            ";
  81.             if ( !(null === (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'12$this->source); })()))) {
  82.                 // line 13
  83.                 echo "                <img class=\"card-img-top\" src=\"";
  84.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'13$this->source); })()), "path", [], "any"falsefalsefalse13), (((twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'13$this->source); })()), "type", [], "any"falsefalsefalse13) == "photo")) ? ("profile_media") : ("profile_media_avatar")), "357x500""jpg"), "html"nulltrue);
  85.                 echo "\" alt=\"";
  86.                 ((twig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse13)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse13), "phone", [], "any"falsefalsefalse13), "html"nulltrue))) : (print ("")));
  87.                 echo "\">
  88.             ";
  89.             }
  90.             // line 15
  91.             echo "            <div class=\"card-body\">
  92.                 ";
  93.             // line 16
  94.             if (twig_get_attribute($this->env$this->source$context["profile"], "isApproved", [], "any"falsefalsefalse16)) {
  95.                 echo "APPROVED";
  96.             }
  97.             // line 17
  98.             echo "                <h5 class=\"card-title\"><a href=\"";
  99.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse17), "uriIdentity", [], "any"falsefalsefalse17), "profile" => twig_get_attribute($this->env$this->source$context["profile"], "uriIdentity", [], "any"falsefalsefalse17)]), "html"nulltrue);
  100.             echo "\" title=\"\">";
  101.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "name", [], "any"falsefalsefalse17)), "html"nulltrue);
  102.             echo " (pos: ";
  103.             (((twig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"truetruefalse17) &&  !(null === twig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"falsefalsefalse17)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"falsefalsefalse17), "html"nulltrue))) : (print ("")));
  104.             echo ")</a></h5>
  105.                 ";
  106.             // line 18
  107.             if ((twig_get_attribute($this->env$this->source$context["profile"], "isActive", [], "any"falsefalsefalse18) ||  !twig_get_attribute($this->env$this->source$context["profile"], "hidden", [], "any"falsefalsefalse18))) {
  108.                 // line 19
  109.                 echo "                    <h6 class=\"card-subtitle mb-2\"><a href=\"tel:";
  110.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse19), "html"nulltrue);
  111.                 echo "\">";
  112.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse19), "html"nulltrue);
  113.                 echo "</a></h6>
  114.                 ";
  115.             }
  116.             // line 21
  117.             echo "                ";
  118.             $context['_parent'] = $context;
  119.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse21));
  120.             $context['loop'] = [
  121.               'parent' => $context['_parent'],
  122.               'index0' => 0,
  123.               'index'  => 1,
  124.               'first'  => true,
  125.             ];
  126.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  127.                 $length count($context['_seq']);
  128.                 $context['loop']['revindex0'] = $length 1;
  129.                 $context['loop']['revindex'] = $length;
  130.                 $context['loop']['length'] = $length;
  131.                 $context['loop']['last'] = === $length;
  132.             }
  133.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  134.                 // line 22
  135.                 echo "                    <a href=\"";
  136.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse22), "uriIdentity", [], "any"falsefalsefalse22), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse22)]), "html"nulltrue);
  137.                 echo "\">";
  138.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse22)), "html"nulltrue);
  139.                 echo "</a>
  140.                     ";
  141.                 // line 23
  142.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse23)) {
  143.                     echo ", ";
  144.                 }
  145.                 // line 24
  146.                 echo "                ";
  147.                 ++$context['loop']['index0'];
  148.                 ++$context['loop']['index'];
  149.                 $context['loop']['first'] = false;
  150.                 if (isset($context['loop']['length'])) {
  151.                     --$context['loop']['revindex0'];
  152.                     --$context['loop']['revindex'];
  153.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  154.                 }
  155.             }
  156.             $_parent $context['_parent'];
  157.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  158.             $context array_intersect_key($context$_parent) + $_parent;
  159.             // line 25
  160.             echo "                <dl class=\"small\">
  161.                     <dt>";
  162.             // line 26
  163.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Возраст", [], "messages");
  164.             echo "</dt>
  165.                     <dd>";
  166.             // line 27
  167.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse27), "age", [], "any"falsefalsefalse27), "html"nulltrue);
  168.             echo "</dd>
  169.                     <dt>";
  170.             // line 28
  171.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Рост", [], "messages");
  172.             echo "</dt>
  173.                     <dd>";
  174.             // line 29
  175.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse29), "height", [], "any"falsefalsefalse29), "html"nulltrue);
  176.             echo "</dd>
  177.                     <dt>";
  178.             // line 30
  179.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Вес", [], "messages");
  180.             echo "</dt>
  181.                     <dd>";
  182.             // line 31
  183.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse31), "weight", [], "any"falsefalsefalse31), "html"nulltrue);
  184.             echo "</dd>
  185.                     <dt>";
  186.             // line 32
  187.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Грудь", [], "messages");
  188.             echo "</dt>
  189.                     <dd>";
  190.             // line 33
  191.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse33), "breastSize", [], "any"falsefalsefalse33), "html"nulltrue);
  192.             echo "</dd>
  193.                 </dl>
  194.                 <dl class=\"small\">
  195.                     <dt>";
  196.             // line 36
  197.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Час", [], "messages");
  198.             echo "</dt>
  199.                     <dd>";
  200.             // line 37
  201.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse37), "oneHourPrice", [], "any"falsefalsefalse37), "html"nulltrue);
  202.             echo " руб</dd>
  203.                     <dt>";
  204.             // line 38
  205.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2 часа", [], "messages");
  206.             echo "</dt>
  207.                     <dd>";
  208.             // line 39
  209.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse39), "twoHoursPrice", [], "any"falsefalsefalse39), "html"nulltrue);
  210.             echo " руб</dd>
  211.                     <dt>";
  212.             // line 40
  213.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ночь", [], "messages");
  214.             echo "</dt>
  215.                     <dd>";
  216.             // line 41
  217.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse41), "nightPrice", [], "any"falsefalsefalse41), "html"nulltrue);
  218.             echo " руб</dd>
  219.                 </dl>
  220.                 <p class=\"small\">
  221.                     ";
  222.             // line 44
  223.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse44), "isProvided", [], "any"falsefalsefalse44)) {
  224.                 // line 45
  225.                 echo "                        ";
  226.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("апартаменты"), "html"nulltrue);
  227.                 echo "
  228.                     ";
  229.             }
  230.             // line 47
  231.             echo "                    ";
  232.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse47), "isProvided", [], "any"falsefalsefalse47)) {
  233.                 // line 48
  234.                 echo "                        ";
  235.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("выезд"), "html"nulltrue);
  236.                 echo "
  237.                     ";
  238.             }
  239.             // line 50
  240.             echo "                </p>
  241. ";
  242.             // line 61
  243.             echo "
  244.                 <p class=\"card-text text-muted small\">";
  245.             // line 62
  246.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "description", [], "any"falsefalsefalse62)), "html"nulltrue);
  247.             echo "</p>
  248.                 <p class=\"card-text text-muted small\">";
  249.             // line 63
  250.             echo ((((array_key_exists("top_profile"$context) && ($context["profile"] != (isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'63$this->source); })()))) && twig_get_attribute($this->env$this->source$context["profile"], "isStandard", [], "any"falsefalsefalse63))) ? ("standard") : (""));
  251.             echo "</p>
  252.                 ";
  253.             // line 65
  254.             $this->loadTemplate("ProfileList/tags.html.twig""ProfileList/list.profiles.html.twig"65)->display(twig_array_merge($context, ["profile" => $context["profile"]]));
  255.             // line 66
  256.             echo "            </div>
  257.         </div>
  258.     </div>
  259.     ";
  260.             ++$context['loop']['index0'];
  261.             ++$context['loop']['index'];
  262.             $context['loop']['first'] = false;
  263.             if (isset($context['loop']['length'])) {
  264.                 --$context['loop']['revindex0'];
  265.                 --$context['loop']['revindex'];
  266.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  267.             }
  268.         }
  269.         $_parent $context['_parent'];
  270.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile'], $context['_parent'], $context['loop']);
  271.         $context array_intersect_key($context$_parent) + $_parent;
  272.         // line 72
  273.         echo "
  274. ";
  275.         // line 73
  276.         if (array_key_exists("show_pagination"$context)) {
  277.             // line 74
  278.             echo "    <div class=\"filtered_profiles_pagination\">
  279.         ";
  280.             // line 75
  281.             echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'75$this->source); })()));
  282.             echo "
  283.     </div>
  284. ";
  285.         }
  286.         
  287.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  288.         
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  290.         
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  292.     }
  293.     /**
  294.      * @codeCoverageIgnore
  295.      */
  296.     public function getTemplateName()
  297.     {
  298.         return "ProfileList/list.profiles.html.twig";
  299.     }
  300.     /**
  301.      * @codeCoverageIgnore
  302.      */
  303.     public function isTraitable()
  304.     {
  305.         return false;
  306.     }
  307.     /**
  308.      * @codeCoverageIgnore
  309.      */
  310.     public function getDebugInfo()
  311.     {
  312.         return array (  294 => 75,  291 => 74,  289 => 73,  286 => 72,  268 => 66,  266 => 65,  261 => 63,  257 => 62,  254 => 61,  250 => 50,  244 => 48,  241 => 47,  235 => 45,  233 => 44,  227 => 41,  223 => 40,  219 => 39,  215 => 38,  211 => 37,  207 => 36,  201 => 33,  197 => 32,  193 => 31,  189 => 30,  185 => 29,  181 => 28,  177 => 27,  173 => 26,  170 => 25,  156 => 24,  152 => 23,  145 => 22,  127 => 21,  119 => 19,  117 => 18,  108 => 17,  104 => 16,  101 => 15,  93 => 13,  90 => 12,  88 => 11,  84 => 10,  81 => 9,  64 => 8,  60 => 6,  58 => 5,  56 => 4,  48 => 2,  46 => 1,);
  313.     }
  314.     public function getSourceContext()
  315.     {
  316.         return new Source("{% if null != profiles or profile_top_placement is defined %}
  317. <h2 class=\"px-3 w-100\">{{ profiles.totalCount }} {{ profiles.totalCount|incline_numeral(['товар', 'товара', 'товаров']) }}</h2>
  318. {% endif %}
  319. {% set profiles_array = (profiles is iterable) ? ((profiles.array is defined) ? profiles.array : profiles) : [] %}
  320. {% if top_profile is defined and null != top_profile and null != profiles %}
  321.     {% set profiles_array = [top_profile]|merge(profiles_array) %}
  322. {% endif %}
  323. {% for profile in profiles %}
  324.     <div class=\"col-4\">
  325.         <div class=\"card\" alt=\"{{ profile.seo ? profile.seo.phone : '' }}\">
  326.             {% set photo = profile|avatar %}
  327.             {% if photo is not null %}
  328.                 <img class=\"card-img-top\" src=\"{{ responsive_asset(photo.path, photo.type == 'photo' ? 'profile_media' : 'profile_media_avatar', '357x500', 'jpg') }}\" alt=\"{{ profile.seo ? profile.seo.phone : '' }}\">
  329.             {% endif %}
  330.             <div class=\"card-body\">
  331.                 {% if profile.isApproved %}APPROVED{% endif %}
  332.                 <h5 class=\"card-title\"><a href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\" title=\"\">{{ profile.name|trans }} (pos: {{ profile.position ?? '' }})</a></h5>
  333.                 {% if profile.isActive or not profile.hidden %}
  334.                     <h6 class=\"card-subtitle mb-2\"><a href=\"tel:{{ profile.phoneNumber }}\">{{ profile.phoneNumber }}</a></h6>
  335.                 {% endif %}
  336.                 {% for station in profile.stations %}
  337.                     <a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\">{{ station.name|trans }}</a>
  338.                     {% if not loop.last %}, {% endif %}
  339.                 {% endfor %}
  340.                 <dl class=\"small\">
  341.                     <dt>{% trans %}Возраст{% endtrans %}</dt>
  342.                     <dd>{{ profile.personParameters.age }}</dd>
  343.                     <dt>{% trans %}Рост{% endtrans %}</dt>
  344.                     <dd>{{ profile.personParameters.height }}</dd>
  345.                     <dt>{% trans %}Вес{% endtrans %}</dt>
  346.                     <dd>{{ profile.personParameters.weight }}</dd>
  347.                     <dt>{% trans %}Грудь{% endtrans %}</dt>
  348.                     <dd>{{ profile.personParameters.breastSize }}</dd>
  349.                 </dl>
  350.                 <dl class=\"small\">
  351.                     <dt>{% trans %}Час{% endtrans %}</dt>
  352.                     <dd>{{ profile.apartmentsPricing.oneHourPrice }} руб</dd>
  353.                     <dt>{% trans %}2 часа{% endtrans %}</dt>
  354.                     <dd>{{ profile.apartmentsPricing.twoHoursPrice }} руб</dd>
  355.                     <dt>{% trans %}Ночь{% endtrans %}</dt>
  356.                     <dd>{{ profile.apartmentsPricing.nightPrice }} руб</dd>
  357.                 </dl>
  358.                 <p class=\"small\">
  359.                     {% if profile.apartmentsPricing.isProvided %}
  360.                         {{ 'апартаменты'|trans }}
  361.                     {% endif %}
  362.                     {% if profile.takeOutPricing.isProvided %}
  363.                         {{ 'выезд'|trans }}
  364.                     {% endif %}
  365.                 </p>
  366. {#                        <p>#}
  367. {#                            <ul>#}
  368. {#                                {% for service in profile.providedServices %}#}
  369. {#                                    <li class=\"text-success\">#}
  370. {#                                        <a>{{ service.service.name|trans }}</a>#}
  371. {#                                    </li>#}
  372. {#                                {% endfor %}#}
  373. {#                            </ul>#}
  374. {#                        </p>#}
  375.                 <p class=\"card-text text-muted small\">{{ profile.description|trans }}</p>
  376.                 <p class=\"card-text text-muted small\">{{ (top_profile is defined and profile != top_profile) and profile.isStandard ? 'standard' }}</p>
  377.                 {% include 'ProfileList/tags.html.twig' with { 'profile': profile } %}
  378.             </div>
  379.         </div>
  380.     </div>
  381.     {#{% if loop.index % 3 == 0 %}</div><div class=\"row mb-3\">{% endif %}#}
  382. {% endfor %}
  383. {% if show_pagination is defined %}
  384.     <div class=\"filtered_profiles_pagination\">
  385.         {{ porpaginas_render(profiles) }}
  386.     </div>
  387. {% endif %}
  388. ""ProfileList/list.profiles.html.twig""/app/templates/ProfileList/list.profiles.html.twig");
  389.     }
  390. }