var/cache/te_dev/twig/62/62830e2a3abca5ed104c02d003458b04bd0097452fac71413dcb30a42ae43b45.php line 76

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. /* @Web/Home/_last-collection-carousel.html.twig */
  14. class __TwigTemplate_6c217ae91450e53ad98499ab5a60c02947d76b5ff9820253c527281e7bee9ab2 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Home/_last-collection-carousel.html.twig"));
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Home/_last-collection-carousel.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Home/_last-collection-carousel.html.twig"));
  35.         // line 1
  36.         echo "<div id=\"last_collection\" class=\"carousel-collection-block js-carousel-block\">
  37. \t<div class=\"carousel-controls\">
  38. \t\t<h2 class=\"carousel-name last\">
  39. \t\t\t<a id=\"novinki_sajta_link\" href=\"";
  40.         // line 4
  41.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["te"]) || array_key_exists("te"$context) ? $context["te"] : (function () { throw new RuntimeError('Variable "te" does not exist.'4$this->source); })()), "linkTopPage", [], "method"falsefalsefalse4), "html"nulltrue);
  42.         echo "\" data-sort-to-catalog=\"3\">
  43. \t\t\t\t";
  44.         // line 5
  45.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_novelty"), "html"nulltrue);
  46.         echo "
  47. \t\t\t</a>
  48. \t\t</h2>
  49. \t\t<span data-prev-show class=\"material-icons prev disabled hidden-xs swiper-button-prev\">
  50. \t\t\t&#xE314;
  51. \t\t</span>
  52. \t\t<span
  53. \t\t\tdata-next-show class=\"material-icons next hidden-xs swiper-button-next ladda-button\" 
  54. \t\t\tdata-style=\"zoom-in\" 
  55. \t\t\tdata-spinner-color=\"#6890c5\" 
  56. \t\t\tdata-ajax-url=\"";
  57.         // line 15
  58.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_last_collection", ["type" => "last-collection"]);
  59.         echo "\"
  60. \t\t>
  61. \t\t\t<span class=\"ladda-label\">&#xE315;</span>
  62. \t\t</span>
  63. \t</div>
  64. \t";
  65.         // line 20
  66.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi"Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\HomeController::carouselAction", ["type" => "last-collection"]));
  67.         echo "
  68. </div>
  69. ";
  70.         
  71.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  72.         
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.     }
  77.     public function getTemplateName()
  78.     {
  79.         return "@Web/Home/_last-collection-carousel.html.twig";
  80.     }
  81.     public function isTraitable()
  82.     {
  83.         return false;
  84.     }
  85.     public function getDebugInfo()
  86.     {
  87.         return array (  76 => 20,  68 => 15,  55 => 5,  51 => 4,  46 => 1,);
  88.     }
  89.     public function getSourceContext()
  90.     {
  91.         return new Source("<div id=\"last_collection\" class=\"carousel-collection-block js-carousel-block\">
  92. \t<div class=\"carousel-controls\">
  93. \t\t<h2 class=\"carousel-name last\">
  94. \t\t\t<a id=\"novinki_sajta_link\" href=\"{{ te.linkTopPage() }}\" data-sort-to-catalog=\"3\">
  95. \t\t\t\t{{ 'main_novelty' | trans }}
  96. \t\t\t</a>
  97. \t\t</h2>
  98. \t\t<span data-prev-show class=\"material-icons prev disabled hidden-xs swiper-button-prev\">
  99. \t\t\t&#xE314;
  100. \t\t</span>
  101. \t\t<span
  102. \t\t\tdata-next-show class=\"material-icons next hidden-xs swiper-button-next ladda-button\" 
  103. \t\t\tdata-style=\"zoom-in\" 
  104. \t\t\tdata-spinner-color=\"#6890c5\" 
  105. \t\t\tdata-ajax-url=\"{{ path('app_last_collection', { 'type': 'last-collection' }) }}\"
  106. \t\t>
  107. \t\t\t<span class=\"ladda-label\">&#xE315;</span>
  108. \t\t</span>
  109. \t</div>
  110. \t{{ render_esi(controller('WebBundle\\\\Controller\\\\HomeController::carouselAction', { type : 'last-collection' })) }}
  111. </div>
  112. ""@Web/Home/_last-collection-carousel.html.twig""/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Home/_last-collection-carousel.html.twig");
  113.     }
  114. }