<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Web/Home/_last-collection-carousel.html.twig */
class __TwigTemplate_6c217ae91450e53ad98499ab5a60c02947d76b5ff9820253c527281e7bee9ab2 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_last-collection-carousel.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_last-collection-carousel.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Home/_last-collection-carousel.html.twig"));
// line 1
echo "<div id=\"last_collection\" class=\"carousel-collection-block js-carousel-block\">
\t<div class=\"carousel-controls\">
\t\t<h2 class=\"carousel-name last\">
\t\t\t<a id=\"novinki_sajta_link\" href=\"";
// line 4
echo twig_escape_filter($this->env, twig_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", false, false, false, 4), "html", null, true);
echo "\" data-sort-to-catalog=\"3\">
\t\t\t\t";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("main_novelty"), "html", null, true);
echo "
\t\t\t</a>
\t\t</h2>
\t\t<span data-prev-show class=\"material-icons prev disabled hidden-xs swiper-button-prev\">
\t\t\t
\t\t</span>
\t\t<span
\t\t\tdata-next-show class=\"material-icons next hidden-xs swiper-button-next ladda-button\"
\t\t\tdata-style=\"zoom-in\"
\t\t\tdata-spinner-color=\"#6890c5\"
\t\t\tdata-ajax-url=\"";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_last_collection", ["type" => "last-collection"]);
echo "\"
\t\t>
\t\t\t<span class=\"ladda-label\"></span>
\t\t</span>
\t</div>
\t";
// line 20
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragmentStrategy("esi", Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("WebBundle\\Controller\\HomeController::carouselAction", ["type" => "last-collection"]));
echo "
</div>
";
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Web/Home/_last-collection-carousel.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 20, 68 => 15, 55 => 5, 51 => 4, 46 => 1,);
}
public function getSourceContext()
{
return new Source("<div id=\"last_collection\" class=\"carousel-collection-block js-carousel-block\">
\t<div class=\"carousel-controls\">
\t\t<h2 class=\"carousel-name last\">
\t\t\t<a id=\"novinki_sajta_link\" href=\"{{ te.linkTopPage() }}\" data-sort-to-catalog=\"3\">
\t\t\t\t{{ 'main_novelty' | trans }}
\t\t\t</a>
\t\t</h2>
\t\t<span data-prev-show class=\"material-icons prev disabled hidden-xs swiper-button-prev\">
\t\t\t
\t\t</span>
\t\t<span
\t\t\tdata-next-show class=\"material-icons next hidden-xs swiper-button-next ladda-button\"
\t\t\tdata-style=\"zoom-in\"
\t\t\tdata-spinner-color=\"#6890c5\"
\t\t\tdata-ajax-url=\"{{ path('app_last_collection', { 'type': 'last-collection' }) }}\"
\t\t>
\t\t\t<span class=\"ladda-label\"></span>
\t\t</span>
\t</div>
\t{{ render_esi(controller('WebBundle\\\\Controller\\\\HomeController::carouselAction', { type : 'last-collection' })) }}
</div>
", "@Web/Home/_last-collection-carousel.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Home/_last-collection-carousel.html.twig");
}
}