var/cache/dev/twig/5f/5f65a95c0dce8ea90755745718f6fd7947916eb3a3176337ba0c8349e560d4ac.php line 44

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. /* Slivki/comments/comments_live.html.twig */
  14. class __TwigTemplate_c5869eaa945019e1fa57c1e5795ef0fc72c1226bd2e98ff78f08b205520e324d 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->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'mainColumnClass' => [$this'block_mainColumnClass'],
  25.             'header' => [$this'block_header'],
  26.             'main_content' => [$this'block_main_content'],
  27.             'popups' => [$this'block_popups'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.             'assetsBottom' => [$this'block_assetsBottom'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""Slivki/comments/comments_live.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_stylesheets($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         // line 4
  60.         echo "    <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  61.     ";
  62.         // line 5
  63.         $this->displayParentBlock("stylesheets"$context$blocks);
  64.         echo "
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 8
  72.     public function block_mainColumnClass($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainColumnClass"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainColumnClass"));
  79.         // line 9
  80.         echo "    ";
  81.         $this->displayParentBlock("mainColumnClass"$context$blocks);
  82.         echo "
  83.     one-column comments-live-content
  84. ";
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 12
  91.     public function block_header($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  98.         // line 13
  99.         echo "    ";
  100.         if ($this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  101.             // line 14
  102.             echo "        ";
  103.             $this->loadTemplate("Slivki/comments/comments_live.html.twig""Slivki/comments/comments_live.html.twig"14"1885919430")->display($context);
  104.             // line 22
  105.             echo "    ";
  106.         } else {
  107.             // line 23
  108.             echo "        ";
  109.             $this->loadTemplate("Slivki/comments/comments_live.html.twig""Slivki/comments/comments_live.html.twig"23"1702376164")->display($context);
  110.             // line 28
  111.             echo "    ";
  112.         }
  113.         
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  115.         
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  117.     }
  118.     // line 31
  119.     public function block_main_content($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  126.         // line 32
  127.         echo "    <div id=\"commentsBox\">
  128.         <div class=\"breadcrumbs\">
  129.             <a href=\"";
  130.         // line 34
  131.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'34$this->source); })()), "html"nulltrue);
  132.         echo "\">Главная</a>
  133.             ";
  134.         // line 35
  135.         if (array_key_exists("category"$context)) {
  136.             // line 36
  137.             echo "                <i class=\"fa fa-angle-right\"></i>&nbsp; <a href=\"";
  138.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("commentsLive");
  139.             echo "\">Отзывы</a>
  140.                 ";
  141.             // line 37
  142.             $context['_parent'] = $context;
  143.             $context['_seq'] = twig_ensure_traversable((isset($context["parentCategories"]) || array_key_exists("parentCategories"$context) ? $context["parentCategories"] : (function () { throw new RuntimeError('Variable "parentCategories" does not exist.'37$this->source); })()));
  144.             foreach ($context['_seq'] as $context["_key"] => $context["parentCategory"]) {
  145.                 // line 38
  146.                 echo "                    <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"/otzyvy";
  147.                 echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCategoryURL($context["parentCategory"]), "html"nulltrue);
  148.                 echo "\">";
  149.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["parentCategory"], "getName", [], "method"falsefalsefalse38), "html"nulltrue);
  150.                 echo "</a>
  151.                 ";
  152.             }
  153.             $_parent $context['_parent'];
  154.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['parentCategory'], $context['_parent'], $context['loop']);
  155.             $context array_intersect_key($context$_parent) + $_parent;
  156.             // line 40
  157.             echo "                <i class=\"fa fa-angle-right\"></i>&nbsp;";
  158.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'40$this->source); })()), "getName", [], "method"falsefalsefalse40), "html"nulltrue);
  159.             echo "
  160.             ";
  161.         } else {
  162.             // line 42
  163.             echo "                <i class=\"fa fa-angle-right\"></i>&nbsp;Отзывы
  164.             ";
  165.         }
  166.         // line 44
  167.         echo "        </div>
  168.         <div class=\"clear\"></div>
  169.         <div class=\"stock-group-header\">
  170.             ";
  171.         // line 47
  172.         if (array_key_exists("title"$context)) {
  173.             // line 48
  174.             echo "                <div class=\"title\">";
  175.             echo (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'48$this->source); })());
  176.             echo "</div>
  177.             ";
  178.         }
  179.         // line 50
  180.         echo "            ";
  181.         if (array_key_exists("subCategories"$context)) {
  182.             // line 51
  183.             echo "                <div class=\"subcategories-list\">
  184.                     ";
  185.             // line 52
  186.             $context['_parent'] = $context;
  187.             $context['_seq'] = twig_ensure_traversable((isset($context["subCategories"]) || array_key_exists("subCategories"$context) ? $context["subCategories"] : (function () { throw new RuntimeError('Variable "subCategories" does not exist.'52$this->source); })()));
  188.             foreach ($context['_seq'] as $context["_key"] => $context["subCategory"]) {
  189.                 // line 53
  190.                 echo "                        <a href=\"";
  191.                 echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_CATEGORY_COMMENTS"), twig_get_attribute($this->env$this->source$context["subCategory"], "getID", [], "method"falsefalsefalse53)), "html"nulltrue);
  192.                 echo "\">
  193.                             ";
  194.                 // line 54
  195.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "getName", [], "method"falsefalsefalse54), "html"nulltrue);
  196.                 echo "
  197.                             <span class=\"green\">(";
  198.                 // line 55
  199.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "getEntityCount", [], "method"falsefalsefalse55), "html"nulltrue);
  200.                 echo ")</span>
  201.                         </a>
  202.                     ";
  203.             }
  204.             $_parent $context['_parent'];
  205.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subCategory'], $context['_parent'], $context['loop']);
  206.             $context array_intersect_key($context$_parent) + $_parent;
  207.             // line 58
  208.             echo "                </div>
  209.             ";
  210.         }
  211.         // line 60
  212.         echo "        </div>
  213.         <div class=\"clear\"></div>
  214.         ";
  215.         // line 62
  216.         if (array_key_exists("categoryID"$context)) {
  217.             // line 63
  218.             echo "            ";
  219.             echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getUserCommentsMediaBlockByEntityID($this->env, (isset($context["categoryID"]) || array_key_exists("categoryID"$context) ? $context["categoryID"] : (function () { throw new RuntimeError('Variable "categoryID" does not exist.'63$this->source); })()), "category");
  220.             echo "
  221.         ";
  222.         } else {
  223.             // line 65
  224.             echo "            ";
  225.             if (array_key_exists("offerID"$context)) {
  226.                 // line 66
  227.                 echo "                ";
  228.                 $context["userCommentMediaBlock"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getUserCommentsMediaBlockByEntityID($this->env, (isset($context["offerID"]) || array_key_exists("offerID"$context) ? $context["offerID"] : (function () { throw new RuntimeError('Variable "offerID" does not exist.'66$this->source); })()), "offer");
  229.                 // line 67
  230.                 echo "                ";
  231.                 $context["offerSupplierPhotoBlock"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getSupplierOfferPhotoBlockByOfferID($this->env, (isset($context["offerID"]) || array_key_exists("offerID"$context) ? $context["offerID"] : (function () { throw new RuntimeError('Variable "offerID" does not exist.'67$this->source); })()));
  232.                 // line 68
  233.                 echo "                ";
  234.                 if (((!== twig_compare((isset($context["userCommentMediaBlock"]) || array_key_exists("userCommentMediaBlock"$context) ? $context["userCommentMediaBlock"] : (function () { throw new RuntimeError('Variable "userCommentMediaBlock" does not exist.'68$this->source); })()), "")) && (!== twig_compare((isset($context["offerSupplierPhotoBlock"]) || array_key_exists("offerSupplierPhotoBlock"$context) ? $context["offerSupplierPhotoBlock"] : (function () { throw new RuntimeError('Variable "offerSupplierPhotoBlock" does not exist.'68$this->source); })()), "")))) {
  235.                     // line 69
  236.                     echo "                    <ul id=\"commentPhotoTabs\" class=\"nav nav-tabs\" role=\"tablist\">
  237.                         <li class=\"active single-line\"><a href=\"#commentSupplierPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото работ</a></li>
  238.                         <li class=\"single-line\"><a href=\"#commentUserPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото из отзывов</a></li>
  239.                     </ul>
  240.                     <div class=\"tab-content\">
  241.                         <div class=\"tab-pane fade\" id=\"commentSupplierPhotoTab\">
  242.                             ";
  243.                     // line 75
  244.                     echo (isset($context["offerSupplierPhotoBlock"]) || array_key_exists("offerSupplierPhotoBlock"$context) ? $context["offerSupplierPhotoBlock"] : (function () { throw new RuntimeError('Variable "offerSupplierPhotoBlock" does not exist.'75$this->source); })());
  245.                     echo "
  246.                         </div>
  247.                         <div class=\"tab-pane fade in active show\" id=\"commentUserPhotoTab\">
  248.                             ";
  249.                     // line 78
  250.                     echo (isset($context["userCommentMediaBlock"]) || array_key_exists("userCommentMediaBlock"$context) ? $context["userCommentMediaBlock"] : (function () { throw new RuntimeError('Variable "userCommentMediaBlock" does not exist.'78$this->source); })());
  251.                     echo "
  252.                         </div>
  253.                     </div>
  254.                 ";
  255.                 } elseif ((!== twig_compare(                // line 81
  256. (isset($context["userCommentMediaBlock"]) || array_key_exists("userCommentMediaBlock"$context) ? $context["userCommentMediaBlock"] : (function () { throw new RuntimeError('Variable "userCommentMediaBlock" does not exist.'81$this->source); })()), ""))) {
  257.                     // line 82
  258.                     echo "                    ";
  259.                     echo (isset($context["userCommentMediaBlock"]) || array_key_exists("userCommentMediaBlock"$context) ? $context["userCommentMediaBlock"] : (function () { throw new RuntimeError('Variable "userCommentMediaBlock" does not exist.'82$this->source); })());
  260.                     echo "
  261.                 ";
  262.                 } elseif ((!== twig_compare(                // line 83
  263. (isset($context["offerSupplierPhotoBlock"]) || array_key_exists("offerSupplierPhotoBlock"$context) ? $context["offerSupplierPhotoBlock"] : (function () { throw new RuntimeError('Variable "offerSupplierPhotoBlock" does not exist.'83$this->source); })()), ""))) {
  264.                     // line 84
  265.                     echo "                    ";
  266.                     echo (isset($context["offerSupplierPhotoBlock"]) || array_key_exists("offerSupplierPhotoBlock"$context) ? $context["offerSupplierPhotoBlock"] : (function () { throw new RuntimeError('Variable "offerSupplierPhotoBlock" does not exist.'84$this->source); })());
  267.                     echo "
  268.                 ";
  269.                 }
  270.                 // line 86
  271.                 echo "            ";
  272.             } else {
  273.                 // line 87
  274.                 echo "                ";
  275.                 echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getUserCommentsMediaBlockByEntityID($this->envnull"all");
  276.                 echo "
  277.             ";
  278.             }
  279.             // line 89
  280.             echo "        ";
  281.         }
  282.         // line 90
  283.         echo "        <div class=\"comments-list userVotes message\">
  284.             <div><img class=\"ajaxLoader\" src=\"/images/image-preview-ajax-loader.gif\" alt=\"Загрузка...\"></div>
  285.             ";
  286.         // line 92
  287.         echo (isset($context["comments"]) || array_key_exists("comments"$context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.'92$this->source); })());
  288.         echo "
  289.         </div>
  290.     </div>
  291.     ";
  292.         // line 95
  293.         if (array_key_exists("offerID"$context)) {
  294.             // line 96
  295.             echo "        <input type=\"hidden\" id=\"stock-id\" value=\"";
  296.             echo twig_escape_filter($this->env, (isset($context["offerID"]) || array_key_exists("offerID"$context) ? $context["offerID"] : (function () { throw new RuntimeError('Variable "offerID" does not exist.'96$this->source); })()), "html"nulltrue);
  297.             echo "\">
  298.         ";
  299.             // line 97
  300.             if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("Slivki\\Entity\\UserGroup::COMMENTS_BANNED_ROLE_NAME"))) {
  301.                 // line 98
  302.                 echo "            <span style=\"display: none\" id=\"addVoteLink\" data-oid=\"";
  303.                 echo twig_escape_filter($this->env, (isset($context["offerID"]) || array_key_exists("offerID"$context) ? $context["offerID"] : (function () { throw new RuntimeError('Variable "offerID" does not exist.'98$this->source); })()), "html"nulltrue);
  304.                 echo "\" data-type=\"";
  305.                 echo twig_escape_filter($this->envtwig_constant("Slivki\\Entity\\Comment::TYPE_OFFER_COMMENT"), "html"nulltrue);
  306.                 echo "\" data-action=\"comment_add\" data-toggle=\"modal\" data-target=\"";
  307.                 echo ((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.'98$this->source); })()), "user", [], "any"falsefalsefalse98)) ? ("#addVoteBox") : ("#onlyRegistered"));
  308.                 echo "\" >Добавить отзыв</span>
  309.         ";
  310.             }
  311.             // line 100
  312.             echo "    ";
  313.         }
  314.         // line 101
  315.         echo "    ";
  316.         if (array_key_exists("categoryID"$context)) {
  317.             // line 102
  318.             echo "        <input type=\"hidden\" id=\"category-id\" value=\"";
  319.             echo twig_escape_filter($this->env, (isset($context["categoryID"]) || array_key_exists("categoryID"$context) ? $context["categoryID"] : (function () { throw new RuntimeError('Variable "categoryID" does not exist.'102$this->source); })()), "html"nulltrue);
  320.             echo "\">
  321.         ";
  322.             // line 103
  323.             if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'103$this->source); })()), "getTypeID", [], "any"falsefalsefalse103), twig_constant("Slivki\\Entity\\Category::SUPPLIER_CATEGORY_TYPE")))) {
  324.                 // line 104
  325.                 echo "            ";
  326.                 $this->loadTemplate("Slivki/pagination.html.twig""Slivki/comments/comments_live.html.twig"104)->display(twig_array_merge($context, ["paginationID" => "categoryCommentPagination""total" => (int) floor(((isset($context["commentsCount"]) || array_key_exists("commentsCount"$context) ? $context["commentsCount"] : (function () { throw new RuntimeError('Variable "commentsCount" does not exist.'104$this->source); })()) / 10)), "current" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'104$this->source); })()), "url" => (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.'104$this->source); })()), "request", [], "any"falsefalsefalse104), "pathInfo", [], "method"falsefalsefalse104) . "?page=")]));
  327.                 // line 105
  328.                 echo "        ";
  329.             }
  330.             // line 106
  331.             echo "    ";
  332.         }
  333.         
  334.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  335.         
  336.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  337.     }
  338.     // line 109
  339.     public function block_popups($context, array $blocks = [])
  340.     {
  341.         $macros $this->macros;
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  346.         // line 110
  347.         echo "    ";
  348.         $this->displayParentBlock("popups"$context$blocks);
  349.         echo "
  350.     ";
  351.         // line 111
  352.         $this->loadTemplate("Slivki/popups/comment_media_block_popup.html.twig""Slivki/comments/comments_live.html.twig"111)->display($context);
  353.         // line 112
  354.         echo "    ";
  355.         if ( !$this->extensions['Slivki\Twig\SlivkiTwigExtension']->isMobileDevice()) {
  356.             // line 113
  357.             echo "        ";
  358.             if (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.'113$this->source); })()), "user", [], "any"falsefalsefalse113)) {
  359.                 // line 114
  360.                 echo "            ";
  361.                 $this->loadTemplate("Slivki/popups/add_comment_popup.html.twig""Slivki/comments/comments_live.html.twig"114)->display(twig_array_merge($context, ["id" => "addVoteBox"]));
  362.                 // line 115
  363.                 echo "            ";
  364.                 $this->loadTemplate("Slivki/popups/edit_comment_popup.html.twig""Slivki/comments/comments_live.html.twig"115)->display(twig_array_merge($context, ["id" => "editVoteBox"]));
  365.                 // line 116
  366.                 echo "        ";
  367.             } else {
  368.                 // line 117
  369.                 echo "            ";
  370.                 $this->loadTemplate("Slivki/popups/comment_only_registered_popup.html.twig""Slivki/comments/comments_live.html.twig"117)->display(twig_array_merge($context, ["id" => "onlyRegistered"]));
  371.                 // line 118
  372.                 echo "        ";
  373.             }
  374.             // line 119
  375.             echo "    ";
  376.         }
  377.         
  378.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  379.         
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  381.     }
  382.     // line 122
  383.     public function block_javascripts($context, array $blocks = [])
  384.     {
  385.         $macros $this->macros;
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  390.         // line 123
  391.         echo "    ";
  392.         $this->displayParentBlock("javascripts"$context$blocks);
  393.         echo "
  394.     <script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
  395.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  396.     <script type=\"text/javascript\">
  397.         \$(document).ready(function(){
  398.             uploadPhoto('/comment/image_upload', '/comment/image_remove');
  399.         });
  400.         ";
  401.         // line 130
  402.         if (array_key_exists("offerID"$context)) {
  403.             // line 131
  404.             echo "            initVoteBox();
  405.             initSupplierPhotoSwiper();
  406.         ";
  407.         }
  408.         // line 134
  409.         echo "    </script>
  410. ";
  411.         
  412.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  413.         
  414.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  415.     }
  416.     // line 136
  417.     public function block_assetsBottom($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""assetsBottom"));
  422.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""assetsBottom"));
  424.         // line 137
  425.         echo "    ";
  426.         $this->displayParentBlock("assetsBottom"$context$blocks);
  427.         echo "
  428. ";
  429.         
  430.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  431.         
  432.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  433.     }
  434.     public function getTemplateName()
  435.     {
  436.         return "Slivki/comments/comments_live.html.twig";
  437.     }
  438.     public function isTraitable()
  439.     {
  440.         return false;
  441.     }
  442.     public function getDebugInfo()
  443.     {
  444.         return array (  469 => 137,  459 => 136,  448 => 134,  443 => 131,  441 => 130,  430 => 123,  420 => 122,  409 => 119,  406 => 118,  403 => 117,  400 => 116,  397 => 115,  394 => 114,  391 => 113,  388 => 112,  386 => 111,  381 => 110,  371 => 109,  360 => 106,  357 => 105,  354 => 104,  352 => 103,  347 => 102,  344 => 101,  341 => 100,  331 => 98,  329 => 97,  324 => 96,  322 => 95,  316 => 92,  312 => 90,  309 => 89,  303 => 87,  300 => 86,  294 => 84,  292 => 83,  287 => 82,  285 => 81,  279 => 78,  273 => 75,  265 => 69,  262 => 68,  259 => 67,  256 => 66,  253 => 65,  247 => 63,  245 => 62,  241 => 60,  237 => 58,  228 => 55,  224 => 54,  219 => 53,  215 => 52,  212 => 51,  209 => 50,  203 => 48,  201 => 47,  196 => 44,  192 => 42,  186 => 40,  175 => 38,  171 => 37,  166 => 36,  164 => 35,  160 => 34,  156 => 32,  146 => 31,  135 => 28,  132 => 23,  129 => 22,  126 => 14,  123 => 13,  113 => 12,  99 => 9,  89 => 8,  77 => 5,  74 => 4,  64 => 3,  41 => 1,);
  445.     }
  446.     public function getSourceContext()
  447.     {
  448.         return new Source("{% extends 'base.html.twig' %}
  449. {% block stylesheets %}
  450.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  451.     {{ parent() }}
  452. {% endblock %}
  453. {% block mainColumnClass %}
  454.     {{ parent() }}
  455.     one-column comments-live-content
  456. {% endblock %}
  457. {% block header %}
  458.     {% if isMobileDevice() %}
  459.         {% embed 'header_mobile.html.twig' %}
  460.             {% block menuBlock %}
  461.                 <li class=\"title\"><span>ОТЗЫВЫ</span></li>
  462.                 {% for item in topMenu %}
  463.                     <li><a href=\"{{ item.getURL() }}\">{{ item.getAlias() != null ? item.getAlias() : item.getName() }}</a></li>
  464.                 {% endfor %}
  465.             {% endblock %}
  466.         {% endembed %}
  467.     {% else %}
  468.         {% embed 'header.html.twig' %}
  469.             {% block headerTopMenu %}
  470.                 {% include 'Slivki/header_menu.html.twig' with {'menuSelected': constant('Slivki\\\\Entity\\\\MainMenu::MENU_ID_COMMENT')} %}
  471.             {% endblock %}
  472.         {% endembed %}
  473.     {% endif %}
  474. {% endblock %}
  475. {% block main_content %}
  476.     <div id=\"commentsBox\">
  477.         <div class=\"breadcrumbs\">
  478.             <a href=\"{{ base_url }}\">Главная</a>
  479.             {% if category is defined  %}
  480.                 <i class=\"fa fa-angle-right\"></i>&nbsp; <a href=\"{{ path('commentsLive') }}\">Отзывы</a>
  481.                 {% for parentCategory in parentCategories %}
  482.                     <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"/otzyvy{{ getCategoryURL(parentCategory) }}\">{{ parentCategory.getName() }}</a>
  483.                 {% endfor %}
  484.                 <i class=\"fa fa-angle-right\"></i>&nbsp;{{ category.getName() }}
  485.             {% else %}
  486.                 <i class=\"fa fa-angle-right\"></i>&nbsp;Отзывы
  487.             {% endif %}
  488.         </div>
  489.         <div class=\"clear\"></div>
  490.         <div class=\"stock-group-header\">
  491.             {% if title is defined %}
  492.                 <div class=\"title\">{{ title|raw }}</div>
  493.             {% endif %}
  494.             {% if subCategories is defined %}
  495.                 <div class=\"subcategories-list\">
  496.                     {% for subCategory in subCategories %}
  497.                         <a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CATEGORY_COMMENTS'), subCategory.getID()) }}\">
  498.                             {{ subCategory.getName() }}
  499.                             <span class=\"green\">({{ subCategory.getEntityCount() }})</span>
  500.                         </a>
  501.                     {% endfor %}
  502.                 </div>
  503.             {% endif %}
  504.         </div>
  505.         <div class=\"clear\"></div>
  506.         {% if categoryID is defined %}
  507.             {{ getUserCommentsMediaBlockByEntityID(categoryID, 'category') }}
  508.         {% else %}
  509.             {% if offerID is defined %}
  510.                 {% set userCommentMediaBlock = getUserCommentsMediaBlockByEntityID(offerID, 'offer') %}
  511.                 {% set offerSupplierPhotoBlock = getSupplierOfferPhotoBlockByOfferID(offerID) %}
  512.                 {% if userCommentMediaBlock != '' and offerSupplierPhotoBlock != '' %}
  513.                     <ul id=\"commentPhotoTabs\" class=\"nav nav-tabs\" role=\"tablist\">
  514.                         <li class=\"active single-line\"><a href=\"#commentSupplierPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото работ</a></li>
  515.                         <li class=\"single-line\"><a href=\"#commentUserPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото из отзывов</a></li>
  516.                     </ul>
  517.                     <div class=\"tab-content\">
  518.                         <div class=\"tab-pane fade\" id=\"commentSupplierPhotoTab\">
  519.                             {{ offerSupplierPhotoBlock|raw }}
  520.                         </div>
  521.                         <div class=\"tab-pane fade in active show\" id=\"commentUserPhotoTab\">
  522.                             {{ userCommentMediaBlock|raw }}
  523.                         </div>
  524.                     </div>
  525.                 {% elseif userCommentMediaBlock != '' %}
  526.                     {{ userCommentMediaBlock|raw }}
  527.                 {% elseif offerSupplierPhotoBlock != '' %}
  528.                     {{ offerSupplierPhotoBlock|raw }}
  529.                 {% endif %}
  530.             {% else %}
  531.                 {{ getUserCommentsMediaBlockByEntityID(null, 'all') }}
  532.             {% endif %}
  533.         {% endif %}
  534.         <div class=\"comments-list userVotes message\">
  535.             <div><img class=\"ajaxLoader\" src=\"/images/image-preview-ajax-loader.gif\" alt=\"Загрузка...\"></div>
  536.             {{ comments|raw }}
  537.         </div>
  538.     </div>
  539.     {% if offerID is defined %}
  540.         <input type=\"hidden\" id=\"stock-id\" value=\"{{ offerID }}\">
  541.         {% if (not is_granted(constant('Slivki\\\\Entity\\\\UserGroup::COMMENTS_BANNED_ROLE_NAME'))) %}
  542.             <span style=\"display: none\" id=\"addVoteLink\" data-oid=\"{{ offerID }}\" data-type=\"{{ constant('Slivki\\\\Entity\\\\Comment::TYPE_OFFER_COMMENT') }}\" data-action=\"comment_add\" data-toggle=\"modal\" data-target=\"{{ app.user ? '#addVoteBox' : '#onlyRegistered' }}\" >Добавить отзыв</span>
  543.         {% endif %}
  544.     {% endif %}
  545.     {% if categoryID is defined %}
  546.         <input type=\"hidden\" id=\"category-id\" value=\"{{ categoryID }}\">
  547.         {% if category.getTypeID ==  constant('Slivki\\\\Entity\\\\Category::SUPPLIER_CATEGORY_TYPE') %}
  548.             {% include 'Slivki/pagination.html.twig' with {'paginationID': 'categoryCommentPagination', 'total': commentsCount//10, 'current': page, 'url': app.request.pathInfo() ~ '?page='} %}
  549.         {% endif %}
  550.     {% endif %}
  551. {% endblock %}
  552. {% block popups %}
  553.     {{ parent() }}
  554.     {% include 'Slivki/popups/comment_media_block_popup.html.twig' %}
  555.     {% if not isMobileDevice() %}
  556.         {% if app.user %}
  557.             {% include 'Slivki/popups/add_comment_popup.html.twig' with {'id': 'addVoteBox'} %}
  558.             {% include 'Slivki/popups/edit_comment_popup.html.twig' with {'id': 'editVoteBox'} %}
  559.         {% else %}
  560.             {% include 'Slivki/popups/comment_only_registered_popup.html.twig' with {'id': 'onlyRegistered'} %}
  561.         {% endif %}
  562.     {% endif %}
  563. {% endblock %}
  564. {% block javascripts %}
  565.     {{ parent() }}
  566.     <script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
  567.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  568.     <script type=\"text/javascript\">
  569.         \$(document).ready(function(){
  570.             uploadPhoto('/comment/image_upload', '/comment/image_remove');
  571.         });
  572.         {% if offerID is defined %}
  573.             initVoteBox();
  574.             initSupplierPhotoSwiper();
  575.         {% endif %}
  576.     </script>
  577. {% endblock %}
  578. {% block assetsBottom %}
  579.     {{ parent() }}
  580. {% endblock %}""Slivki/comments/comments_live.html.twig""/mnt/data/virtwww/dima/templates/Slivki/comments/comments_live.html.twig");
  581.     }
  582. }
  583. /* Slivki/comments/comments_live.html.twig */
  584. class __TwigTemplate_c5869eaa945019e1fa57c1e5795ef0fc72c1226bd2e98ff78f08b205520e324d___1885919430 extends Template
  585. {
  586.     private $source;
  587.     private $macros = [];
  588.     public function __construct(Environment $env)
  589.     {
  590.         parent::__construct($env);
  591.         $this->source $this->getSourceContext();
  592.         $this->blocks = [
  593.             'menuBlock' => [$this'block_menuBlock'],
  594.         ];
  595.     }
  596.     protected function doGetParent(array $context)
  597.     {
  598.         // line 14
  599.         return "header_mobile.html.twig";
  600.     }
  601.     protected function doDisplay(array $context, array $blocks = [])
  602.     {
  603.         $macros $this->macros;
  604.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  605.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  606.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  607.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  608.         $this->parent $this->loadTemplate("header_mobile.html.twig""Slivki/comments/comments_live.html.twig"14);
  609.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  610.         
  611.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  612.         
  613.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  614.     }
  615.     // line 15
  616.     public function block_menuBlock($context, array $blocks = [])
  617.     {
  618.         $macros $this->macros;
  619.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  620.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menuBlock"));
  621.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  622.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menuBlock"));
  623.         // line 16
  624.         echo "                <li class=\"title\"><span>ОТЗЫВЫ</span></li>
  625.                 ";
  626.         // line 17
  627.         $context['_parent'] = $context;
  628.         $context['_seq'] = twig_ensure_traversable((isset($context["topMenu"]) || array_key_exists("topMenu"$context) ? $context["topMenu"] : (function () { throw new RuntimeError('Variable "topMenu" does not exist.'17$this->source); })()));
  629.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  630.             // line 18
  631.             echo "                    <li><a href=\"";
  632.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "getURL", [], "method"falsefalsefalse18), "html"nulltrue);
  633.             echo "\">";
  634.             echo twig_escape_filter($this->env, (((!== twig_compare(twig_get_attribute($this->env$this->source$context["item"], "getAlias", [], "method"falsefalsefalse18), null))) ? (twig_get_attribute($this->env$this->source$context["item"], "getAlias", [], "method"falsefalsefalse18)) : (twig_get_attribute($this->env$this->source$context["item"], "getName", [], "method"falsefalsefalse18))), "html"nulltrue);
  635.             echo "</a></li>
  636.                 ";
  637.         }
  638.         $_parent $context['_parent'];
  639.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  640.         $context array_intersect_key($context$_parent) + $_parent;
  641.         // line 20
  642.         echo "            ";
  643.         
  644.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  645.         
  646.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  647.     }
  648.     public function getTemplateName()
  649.     {
  650.         return "Slivki/comments/comments_live.html.twig";
  651.     }
  652.     public function isTraitable()
  653.     {
  654.         return false;
  655.     }
  656.     public function getDebugInfo()
  657.     {
  658.         return array (  711 => 20,  700 => 18,  696 => 17,  693 => 16,  683 => 15,  660 => 14,  469 => 137,  459 => 136,  448 => 134,  443 => 131,  441 => 130,  430 => 123,  420 => 122,  409 => 119,  406 => 118,  403 => 117,  400 => 116,  397 => 115,  394 => 114,  391 => 113,  388 => 112,  386 => 111,  381 => 110,  371 => 109,  360 => 106,  357 => 105,  354 => 104,  352 => 103,  347 => 102,  344 => 101,  341 => 100,  331 => 98,  329 => 97,  324 => 96,  322 => 95,  316 => 92,  312 => 90,  309 => 89,  303 => 87,  300 => 86,  294 => 84,  292 => 83,  287 => 82,  285 => 81,  279 => 78,  273 => 75,  265 => 69,  262 => 68,  259 => 67,  256 => 66,  253 => 65,  247 => 63,  245 => 62,  241 => 60,  237 => 58,  228 => 55,  224 => 54,  219 => 53,  215 => 52,  212 => 51,  209 => 50,  203 => 48,  201 => 47,  196 => 44,  192 => 42,  186 => 40,  175 => 38,  171 => 37,  166 => 36,  164 => 35,  160 => 34,  156 => 32,  146 => 31,  135 => 28,  132 => 23,  129 => 22,  126 => 14,  123 => 13,  113 => 12,  99 => 9,  89 => 8,  77 => 5,  74 => 4,  64 => 3,  41 => 1,);
  659.     }
  660.     public function getSourceContext()
  661.     {
  662.         return new Source("{% extends 'base.html.twig' %}
  663. {% block stylesheets %}
  664.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  665.     {{ parent() }}
  666. {% endblock %}
  667. {% block mainColumnClass %}
  668.     {{ parent() }}
  669.     one-column comments-live-content
  670. {% endblock %}
  671. {% block header %}
  672.     {% if isMobileDevice() %}
  673.         {% embed 'header_mobile.html.twig' %}
  674.             {% block menuBlock %}
  675.                 <li class=\"title\"><span>ОТЗЫВЫ</span></li>
  676.                 {% for item in topMenu %}
  677.                     <li><a href=\"{{ item.getURL() }}\">{{ item.getAlias() != null ? item.getAlias() : item.getName() }}</a></li>
  678.                 {% endfor %}
  679.             {% endblock %}
  680.         {% endembed %}
  681.     {% else %}
  682.         {% embed 'header.html.twig' %}
  683.             {% block headerTopMenu %}
  684.                 {% include 'Slivki/header_menu.html.twig' with {'menuSelected': constant('Slivki\\\\Entity\\\\MainMenu::MENU_ID_COMMENT')} %}
  685.             {% endblock %}
  686.         {% endembed %}
  687.     {% endif %}
  688. {% endblock %}
  689. {% block main_content %}
  690.     <div id=\"commentsBox\">
  691.         <div class=\"breadcrumbs\">
  692.             <a href=\"{{ base_url }}\">Главная</a>
  693.             {% if category is defined  %}
  694.                 <i class=\"fa fa-angle-right\"></i>&nbsp; <a href=\"{{ path('commentsLive') }}\">Отзывы</a>
  695.                 {% for parentCategory in parentCategories %}
  696.                     <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"/otzyvy{{ getCategoryURL(parentCategory) }}\">{{ parentCategory.getName() }}</a>
  697.                 {% endfor %}
  698.                 <i class=\"fa fa-angle-right\"></i>&nbsp;{{ category.getName() }}
  699.             {% else %}
  700.                 <i class=\"fa fa-angle-right\"></i>&nbsp;Отзывы
  701.             {% endif %}
  702.         </div>
  703.         <div class=\"clear\"></div>
  704.         <div class=\"stock-group-header\">
  705.             {% if title is defined %}
  706.                 <div class=\"title\">{{ title|raw }}</div>
  707.             {% endif %}
  708.             {% if subCategories is defined %}
  709.                 <div class=\"subcategories-list\">
  710.                     {% for subCategory in subCategories %}
  711.                         <a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CATEGORY_COMMENTS'), subCategory.getID()) }}\">
  712.                             {{ subCategory.getName() }}
  713.                             <span class=\"green\">({{ subCategory.getEntityCount() }})</span>
  714.                         </a>
  715.                     {% endfor %}
  716.                 </div>
  717.             {% endif %}
  718.         </div>
  719.         <div class=\"clear\"></div>
  720.         {% if categoryID is defined %}
  721.             {{ getUserCommentsMediaBlockByEntityID(categoryID, 'category') }}
  722.         {% else %}
  723.             {% if offerID is defined %}
  724.                 {% set userCommentMediaBlock = getUserCommentsMediaBlockByEntityID(offerID, 'offer') %}
  725.                 {% set offerSupplierPhotoBlock = getSupplierOfferPhotoBlockByOfferID(offerID) %}
  726.                 {% if userCommentMediaBlock != '' and offerSupplierPhotoBlock != '' %}
  727.                     <ul id=\"commentPhotoTabs\" class=\"nav nav-tabs\" role=\"tablist\">
  728.                         <li class=\"active single-line\"><a href=\"#commentSupplierPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото работ</a></li>
  729.                         <li class=\"single-line\"><a href=\"#commentUserPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото из отзывов</a></li>
  730.                     </ul>
  731.                     <div class=\"tab-content\">
  732.                         <div class=\"tab-pane fade\" id=\"commentSupplierPhotoTab\">
  733.                             {{ offerSupplierPhotoBlock|raw }}
  734.                         </div>
  735.                         <div class=\"tab-pane fade in active show\" id=\"commentUserPhotoTab\">
  736.                             {{ userCommentMediaBlock|raw }}
  737.                         </div>
  738.                     </div>
  739.                 {% elseif userCommentMediaBlock != '' %}
  740.                     {{ userCommentMediaBlock|raw }}
  741.                 {% elseif offerSupplierPhotoBlock != '' %}
  742.                     {{ offerSupplierPhotoBlock|raw }}
  743.                 {% endif %}
  744.             {% else %}
  745.                 {{ getUserCommentsMediaBlockByEntityID(null, 'all') }}
  746.             {% endif %}
  747.         {% endif %}
  748.         <div class=\"comments-list userVotes message\">
  749.             <div><img class=\"ajaxLoader\" src=\"/images/image-preview-ajax-loader.gif\" alt=\"Загрузка...\"></div>
  750.             {{ comments|raw }}
  751.         </div>
  752.     </div>
  753.     {% if offerID is defined %}
  754.         <input type=\"hidden\" id=\"stock-id\" value=\"{{ offerID }}\">
  755.         {% if (not is_granted(constant('Slivki\\\\Entity\\\\UserGroup::COMMENTS_BANNED_ROLE_NAME'))) %}
  756.             <span style=\"display: none\" id=\"addVoteLink\" data-oid=\"{{ offerID }}\" data-type=\"{{ constant('Slivki\\\\Entity\\\\Comment::TYPE_OFFER_COMMENT') }}\" data-action=\"comment_add\" data-toggle=\"modal\" data-target=\"{{ app.user ? '#addVoteBox' : '#onlyRegistered' }}\" >Добавить отзыв</span>
  757.         {% endif %}
  758.     {% endif %}
  759.     {% if categoryID is defined %}
  760.         <input type=\"hidden\" id=\"category-id\" value=\"{{ categoryID }}\">
  761.         {% if category.getTypeID ==  constant('Slivki\\\\Entity\\\\Category::SUPPLIER_CATEGORY_TYPE') %}
  762.             {% include 'Slivki/pagination.html.twig' with {'paginationID': 'categoryCommentPagination', 'total': commentsCount//10, 'current': page, 'url': app.request.pathInfo() ~ '?page='} %}
  763.         {% endif %}
  764.     {% endif %}
  765. {% endblock %}
  766. {% block popups %}
  767.     {{ parent() }}
  768.     {% include 'Slivki/popups/comment_media_block_popup.html.twig' %}
  769.     {% if not isMobileDevice() %}
  770.         {% if app.user %}
  771.             {% include 'Slivki/popups/add_comment_popup.html.twig' with {'id': 'addVoteBox'} %}
  772.             {% include 'Slivki/popups/edit_comment_popup.html.twig' with {'id': 'editVoteBox'} %}
  773.         {% else %}
  774.             {% include 'Slivki/popups/comment_only_registered_popup.html.twig' with {'id': 'onlyRegistered'} %}
  775.         {% endif %}
  776.     {% endif %}
  777. {% endblock %}
  778. {% block javascripts %}
  779.     {{ parent() }}
  780.     <script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
  781.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  782.     <script type=\"text/javascript\">
  783.         \$(document).ready(function(){
  784.             uploadPhoto('/comment/image_upload', '/comment/image_remove');
  785.         });
  786.         {% if offerID is defined %}
  787.             initVoteBox();
  788.             initSupplierPhotoSwiper();
  789.         {% endif %}
  790.     </script>
  791. {% endblock %}
  792. {% block assetsBottom %}
  793.     {{ parent() }}
  794. {% endblock %}""Slivki/comments/comments_live.html.twig""/mnt/data/virtwww/dima/templates/Slivki/comments/comments_live.html.twig");
  795.     }
  796. }
  797. /* Slivki/comments/comments_live.html.twig */
  798. class __TwigTemplate_c5869eaa945019e1fa57c1e5795ef0fc72c1226bd2e98ff78f08b205520e324d___1702376164 extends Template
  799. {
  800.     private $source;
  801.     private $macros = [];
  802.     public function __construct(Environment $env)
  803.     {
  804.         parent::__construct($env);
  805.         $this->source $this->getSourceContext();
  806.         $this->blocks = [
  807.             'headerTopMenu' => [$this'block_headerTopMenu'],
  808.         ];
  809.     }
  810.     protected function doGetParent(array $context)
  811.     {
  812.         // line 23
  813.         return "header.html.twig";
  814.     }
  815.     protected function doDisplay(array $context, array $blocks = [])
  816.     {
  817.         $macros $this->macros;
  818.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  819.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  820.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  821.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/comments/comments_live.html.twig"));
  822.         $this->parent $this->loadTemplate("header.html.twig""Slivki/comments/comments_live.html.twig"23);
  823.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  824.         
  825.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  826.         
  827.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  828.     }
  829.     // line 24
  830.     public function block_headerTopMenu($context, array $blocks = [])
  831.     {
  832.         $macros $this->macros;
  833.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  834.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTopMenu"));
  835.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  836.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTopMenu"));
  837.         // line 25
  838.         echo "                ";
  839.         $this->loadTemplate("Slivki/header_menu.html.twig""Slivki/comments/comments_live.html.twig"25)->display(twig_array_merge($context, ["menuSelected" => twig_constant("Slivki\\Entity\\MainMenu::MENU_ID_COMMENT")]));
  840.         // line 26
  841.         echo "            ";
  842.         
  843.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  844.         
  845.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  846.     }
  847.     public function getTemplateName()
  848.     {
  849.         return "Slivki/comments/comments_live.html.twig";
  850.     }
  851.     public function isTraitable()
  852.     {
  853.         return false;
  854.     }
  855.     public function getDebugInfo()
  856.     {
  857.         return array (  935 => 26,  932 => 25,  922 => 24,  899 => 23,  711 => 20,  700 => 18,  696 => 17,  693 => 16,  683 => 15,  660 => 14,  469 => 137,  459 => 136,  448 => 134,  443 => 131,  441 => 130,  430 => 123,  420 => 122,  409 => 119,  406 => 118,  403 => 117,  400 => 116,  397 => 115,  394 => 114,  391 => 113,  388 => 112,  386 => 111,  381 => 110,  371 => 109,  360 => 106,  357 => 105,  354 => 104,  352 => 103,  347 => 102,  344 => 101,  341 => 100,  331 => 98,  329 => 97,  324 => 96,  322 => 95,  316 => 92,  312 => 90,  309 => 89,  303 => 87,  300 => 86,  294 => 84,  292 => 83,  287 => 82,  285 => 81,  279 => 78,  273 => 75,  265 => 69,  262 => 68,  259 => 67,  256 => 66,  253 => 65,  247 => 63,  245 => 62,  241 => 60,  237 => 58,  228 => 55,  224 => 54,  219 => 53,  215 => 52,  212 => 51,  209 => 50,  203 => 48,  201 => 47,  196 => 44,  192 => 42,  186 => 40,  175 => 38,  171 => 37,  166 => 36,  164 => 35,  160 => 34,  156 => 32,  146 => 31,  135 => 28,  132 => 23,  129 => 22,  126 => 14,  123 => 13,  113 => 12,  99 => 9,  89 => 8,  77 => 5,  74 => 4,  64 => 3,  41 => 1,);
  858.     }
  859.     public function getSourceContext()
  860.     {
  861.         return new Source("{% extends 'base.html.twig' %}
  862. {% block stylesheets %}
  863.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\" />
  864.     {{ parent() }}
  865. {% endblock %}
  866. {% block mainColumnClass %}
  867.     {{ parent() }}
  868.     one-column comments-live-content
  869. {% endblock %}
  870. {% block header %}
  871.     {% if isMobileDevice() %}
  872.         {% embed 'header_mobile.html.twig' %}
  873.             {% block menuBlock %}
  874.                 <li class=\"title\"><span>ОТЗЫВЫ</span></li>
  875.                 {% for item in topMenu %}
  876.                     <li><a href=\"{{ item.getURL() }}\">{{ item.getAlias() != null ? item.getAlias() : item.getName() }}</a></li>
  877.                 {% endfor %}
  878.             {% endblock %}
  879.         {% endembed %}
  880.     {% else %}
  881.         {% embed 'header.html.twig' %}
  882.             {% block headerTopMenu %}
  883.                 {% include 'Slivki/header_menu.html.twig' with {'menuSelected': constant('Slivki\\\\Entity\\\\MainMenu::MENU_ID_COMMENT')} %}
  884.             {% endblock %}
  885.         {% endembed %}
  886.     {% endif %}
  887. {% endblock %}
  888. {% block main_content %}
  889.     <div id=\"commentsBox\">
  890.         <div class=\"breadcrumbs\">
  891.             <a href=\"{{ base_url }}\">Главная</a>
  892.             {% if category is defined  %}
  893.                 <i class=\"fa fa-angle-right\"></i>&nbsp; <a href=\"{{ path('commentsLive') }}\">Отзывы</a>
  894.                 {% for parentCategory in parentCategories %}
  895.                     <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"/otzyvy{{ getCategoryURL(parentCategory) }}\">{{ parentCategory.getName() }}</a>
  896.                 {% endfor %}
  897.                 <i class=\"fa fa-angle-right\"></i>&nbsp;{{ category.getName() }}
  898.             {% else %}
  899.                 <i class=\"fa fa-angle-right\"></i>&nbsp;Отзывы
  900.             {% endif %}
  901.         </div>
  902.         <div class=\"clear\"></div>
  903.         <div class=\"stock-group-header\">
  904.             {% if title is defined %}
  905.                 <div class=\"title\">{{ title|raw }}</div>
  906.             {% endif %}
  907.             {% if subCategories is defined %}
  908.                 <div class=\"subcategories-list\">
  909.                     {% for subCategory in subCategories %}
  910.                         <a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CATEGORY_COMMENTS'), subCategory.getID()) }}\">
  911.                             {{ subCategory.getName() }}
  912.                             <span class=\"green\">({{ subCategory.getEntityCount() }})</span>
  913.                         </a>
  914.                     {% endfor %}
  915.                 </div>
  916.             {% endif %}
  917.         </div>
  918.         <div class=\"clear\"></div>
  919.         {% if categoryID is defined %}
  920.             {{ getUserCommentsMediaBlockByEntityID(categoryID, 'category') }}
  921.         {% else %}
  922.             {% if offerID is defined %}
  923.                 {% set userCommentMediaBlock = getUserCommentsMediaBlockByEntityID(offerID, 'offer') %}
  924.                 {% set offerSupplierPhotoBlock = getSupplierOfferPhotoBlockByOfferID(offerID) %}
  925.                 {% if userCommentMediaBlock != '' and offerSupplierPhotoBlock != '' %}
  926.                     <ul id=\"commentPhotoTabs\" class=\"nav nav-tabs\" role=\"tablist\">
  927.                         <li class=\"active single-line\"><a href=\"#commentSupplierPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото работ</a></li>
  928.                         <li class=\"single-line\"><a href=\"#commentUserPhotoTab\" role=\"tab\" data-toggle=\"tab\">Фото из отзывов</a></li>
  929.                     </ul>
  930.                     <div class=\"tab-content\">
  931.                         <div class=\"tab-pane fade\" id=\"commentSupplierPhotoTab\">
  932.                             {{ offerSupplierPhotoBlock|raw }}
  933.                         </div>
  934.                         <div class=\"tab-pane fade in active show\" id=\"commentUserPhotoTab\">
  935.                             {{ userCommentMediaBlock|raw }}
  936.                         </div>
  937.                     </div>
  938.                 {% elseif userCommentMediaBlock != '' %}
  939.                     {{ userCommentMediaBlock|raw }}
  940.                 {% elseif offerSupplierPhotoBlock != '' %}
  941.                     {{ offerSupplierPhotoBlock|raw }}
  942.                 {% endif %}
  943.             {% else %}
  944.                 {{ getUserCommentsMediaBlockByEntityID(null, 'all') }}
  945.             {% endif %}
  946.         {% endif %}
  947.         <div class=\"comments-list userVotes message\">
  948.             <div><img class=\"ajaxLoader\" src=\"/images/image-preview-ajax-loader.gif\" alt=\"Загрузка...\"></div>
  949.             {{ comments|raw }}
  950.         </div>
  951.     </div>
  952.     {% if offerID is defined %}
  953.         <input type=\"hidden\" id=\"stock-id\" value=\"{{ offerID }}\">
  954.         {% if (not is_granted(constant('Slivki\\\\Entity\\\\UserGroup::COMMENTS_BANNED_ROLE_NAME'))) %}
  955.             <span style=\"display: none\" id=\"addVoteLink\" data-oid=\"{{ offerID }}\" data-type=\"{{ constant('Slivki\\\\Entity\\\\Comment::TYPE_OFFER_COMMENT') }}\" data-action=\"comment_add\" data-toggle=\"modal\" data-target=\"{{ app.user ? '#addVoteBox' : '#onlyRegistered' }}\" >Добавить отзыв</span>
  956.         {% endif %}
  957.     {% endif %}
  958.     {% if categoryID is defined %}
  959.         <input type=\"hidden\" id=\"category-id\" value=\"{{ categoryID }}\">
  960.         {% if category.getTypeID ==  constant('Slivki\\\\Entity\\\\Category::SUPPLIER_CATEGORY_TYPE') %}
  961.             {% include 'Slivki/pagination.html.twig' with {'paginationID': 'categoryCommentPagination', 'total': commentsCount//10, 'current': page, 'url': app.request.pathInfo() ~ '?page='} %}
  962.         {% endif %}
  963.     {% endif %}
  964. {% endblock %}
  965. {% block popups %}
  966.     {{ parent() }}
  967.     {% include 'Slivki/popups/comment_media_block_popup.html.twig' %}
  968.     {% if not isMobileDevice() %}
  969.         {% if app.user %}
  970.             {% include 'Slivki/popups/add_comment_popup.html.twig' with {'id': 'addVoteBox'} %}
  971.             {% include 'Slivki/popups/edit_comment_popup.html.twig' with {'id': 'editVoteBox'} %}
  972.         {% else %}
  973.             {% include 'Slivki/popups/comment_only_registered_popup.html.twig' with {'id': 'onlyRegistered'} %}
  974.         {% endif %}
  975.     {% endif %}
  976. {% endblock %}
  977. {% block javascripts %}
  978.     {{ parent() }}
  979.     <script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
  980.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  981.     <script type=\"text/javascript\">
  982.         \$(document).ready(function(){
  983.             uploadPhoto('/comment/image_upload', '/comment/image_remove');
  984.         });
  985.         {% if offerID is defined %}
  986.             initVoteBox();
  987.             initSupplierPhotoSwiper();
  988.         {% endif %}
  989.     </script>
  990. {% endblock %}
  991. {% block assetsBottom %}
  992.     {{ parent() }}
  993. {% endblock %}""Slivki/comments/comments_live.html.twig""/mnt/data/virtwww/dima/templates/Slivki/comments/comments_live.html.twig");
  994.     }
  995. }